Call command. command should be a list of the executable and all arguments.
>>> call(['some_command', '-v', some_argument])
Returns: | return code of the command |
---|
Call command in a new shell. command should be a string with all arguments.
>>> call('some_command -v arg')
Returns: | return code of the command |
---|
Call command and return the stdout from the command call as a string.
Like backtick function, but the command will be called even in dry-run mode.