subprocess-util/test.py

12 lines
249 B
Python
Raw Normal View History

2023-01-10 15:42:33 +01:00
from subprocess_util import execute_print_capture
def test():
returncode, out, err = execute_print_capture(['ls', '-la'])
print()
returncode, out, err = execute_print_capture(['ls', '/foo/bar'])
if __name__ == '__main__':
test()