Ovo Ojameruaye
11/09/2021, 1:12 AMKevin Kho
sys.platform
? win32
?Ovo Ojameruaye
11/09/2021, 2:21 AMOvo Ojameruaye
11/09/2021, 3:18 AMKevin Kho
Ovo Ojameruaye
11/09/2021, 4:04 AMmy_task = ShellTask(shell=r"C:\\Windows\\System32\\bash.exe", log_stderr=True, return_all=True, stream_output=True)
with Flow("shell") as f:
result = my_task(command="ls")
print(result)
out = f.run()
Kevin Kho
Ovo Ojameruaye
11/09/2021, 4:11 AMKevin Kho
Ovo Ojameruaye
11/09/2021, 4:20 AMKevin Kho