carputils
Doxygen code documentation for the python framework controlling openCARP
|
A command executable in the bash shell. More...
Public Member Functions | |
def | __init__ (self, command, message=None, skiperror=False, stdout=None, stderr=None) |
def | execute (self) |
Run this command right now. More... | |
def | bash (self) |
Generate a bash statement executing this command. More... | |
![]() | |
def | execute (self) |
Run this command right now. More... | |
def | bash (self) |
Generate a bash statement executing this command. More... | |
A command executable in the bash shell.
command list of str The command to execute in bash message str, optional A descriptive message to execute when running the command skiperror bool, optional When True, do not crash when the command fails in execute()
def carputils.job.command.ShellCommand.__init__ | ( | self, | |
command, | |||
message = None , |
|||
skiperror = False , |
|||
stdout = None , |
|||
stderr = None |
|||
) |
def carputils.job.command.ShellCommand.bash | ( | self | ) |
Generate a bash statement executing this command.
def carputils.job.command.ShellCommand.execute | ( | self | ) |
Run this command right now.