33 if isinstance(command, str):
34 return [val.replace(
'<SPACE>',
' ')
for val
in command.split()]
39 tempfile.mkstemp(prefix=
'rfproc_', suffix=
'.txt',
43 self.
_error_error =
'The command is missing from this run configuration.'
47 stderr=subprocess.STDOUT)
48 except OSError
as err:
49 self.
_error_error = str(err)
52 return self.
_error_error
is not None or self.
_process_process.poll()
is not None
58 if self.
_process_process
is not None:
74 if wait_until_finished:
def _parse_command(self, command)
def __init__(self, command)
def _remove_tempfile(self, attempts=10)
def get_output(self, wait_until_finished=False)
Returns the output produced by the process.