se.py (4455:18ff8ee46de8) se.py (4847:41126ac89de7)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 50 unchanged lines hidden (view full) ---

59(options, args) = parser.parse_args()
60
61if args:
62 print "Error: script doesn't take any positional arguments"
63 sys.exit(1)
64
65process = LiveProcess()
66process.executable = options.cmd
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 50 unchanged lines hidden (view full) ---

59(options, args) = parser.parse_args()
60
61if args:
62 print "Error: script doesn't take any positional arguments"
63 sys.exit(1)
64
65process = LiveProcess()
66process.executable = options.cmd
67process.cmd = options.cmd + " " + options.options
67process.cmd = [options.cmd] + options.options.split()
68if options.input != "":
69 process.input = options.input
70
71if options.detailed:
72 #check for SMT workload
73 workloads = options.cmd.split(';')
74 if len(workloads) > 1:
75 process = []

--- 44 unchanged lines hidden ---
68if options.input != "":
69 process.input = options.input
70
71if options.detailed:
72 #check for SMT workload
73 workloads = options.cmd.split(';')
74 if len(workloads) > 1:
75 process = []

--- 44 unchanged lines hidden ---