mirror of
https://codeberg.org/privacy1st/subprocess-util
synced 2024-12-22 22:06:05 +01:00
12 lines
249 B
Python
12 lines
249 B
Python
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()
|