![]() |
ATLAS Offline Software
|
Class for handling a single process. More...
Public Member Functions | |
| __init__ (self, ID, command, logfile_title) | |
| poll (self) | |
Public Attributes | |
| ID = ID | |
| logfile_title = logfile_title | |
| logfile = open(logfile_title, 'w') | |
| process = subprocess.Popen(command, stdout=self.logfile, stderr=self.logfile) | |
Class for handling a single process.
This class provides the infrastructure to spawn a new subprocess from python, pipe the output to a logfile and check the status of the subprocess
Definition at line 92 of file Herwig7Utils.py.
| Herwig7Utils.Process.__init__ | ( | self, | |
| ID, | |||
| command, | |||
| logfile_title ) |
Definition at line 94 of file Herwig7Utils.py.
| Herwig7Utils.Process.poll | ( | self | ) |
Definition at line 102 of file Herwig7Utils.py.
| Herwig7Utils.Process.ID = ID |
Definition at line 97 of file Herwig7Utils.py.
| Herwig7Utils.Process.logfile = open(logfile_title, 'w') |
Definition at line 99 of file Herwig7Utils.py.
| Herwig7Utils.Process.logfile_title = logfile_title |
Definition at line 98 of file Herwig7Utils.py.
| Herwig7Utils.Process.process = subprocess.Popen(command, stdout=self.logfile, stderr=self.logfile) |
Definition at line 100 of file Herwig7Utils.py.