This commit is contained in:
Daniel Langbein 2021-07-23 19:06:09 +02:00
parent edeff1e1e6
commit bf7891afba

View File

@ -8,7 +8,7 @@ def execute(command: List[str]):
Run the given command in a subprocess and pass stdin (if given) to that process. Run the given command in a subprocess and pass stdin (if given) to that process.
Wait for command to complete. Wait for command to complete.
:param command: A command to executed as list of words, e.g. ["echo", "hello"] :param command: A command to executed as list of words, e.g. ['echo', 'Hello world!']
:return: (exit_code, stdout, stderr) :return: (exit_code, stdout, stderr)
""" """