script mode testing and fixes

This commit is contained in:
Edwin Eefting
2022-01-29 10:10:18 +01:00
parent e1fb7a37be
commit 8233e7b35e
2 changed files with 20 additions and 12 deletions

View File

@ -100,7 +100,7 @@ class ExecuteNode(LogStub):
:param cmd: the actual command, should be a list, where the first item is the command
and the rest are parameters. use ExecuteNode.PIPE to add an unescaped |
(if you want to use system piping instead of python piping)
:param pipe: return CmdPipe instead of executing it. (pipe this into anoter run() command via inp=...)
:param pipe: return CmdPipe instead of executing it. (pipe this into another run() command via inp=...)
:param inp: Can be None, a string or a CmdPipe that was previously returned.
:param tab_split: split tabbed files in output into a list
:param valid_exitcodes: list of valid exit codes for this command. Use [] to accept all exit codes. Default [0]