316 KiB
316 KiB
TASK: Execute a Python script ('print("Python OK")') and a Shell command ('echo Shell OK') in parallel using async mode. Wait for both to finish using process_get_status and save the combined results to 'mixed_async.txt'.
----------------------------------------
Loading...
┌─── Python Source Code ─────────────────────────────────────
│ 1 | print("Python OK")
└────────────────────────────────────────────────────────────
-> linux_terminal_execute (timeout 10s):
echo Shell OK
[93757] Python OK
[93759] Shell OK
-> Writing file: mixed_async.txt
CHANGES: mixed_async.txt
LINE OLD | LINE NEW
--------------------------------------------------------------------------------------------------------------------------------------------
1 - Python Output: Python OK |
2 - Shell Output: Shell OK |
| 1 + Python OK
| 2 + Shell OK
Both the Python script and the shell command completed successfully. Their combined output has been saved to 'mixed_async.txt'.
----------------------------------------
Loading...
┌─── Python Source Code ─────────────────────────────────────
│ 1 | print("Python OK")
└────────────────────────────────────────────────────────────
-> linux_terminal_execute (timeout 10s):
echo Shell OK
[93757] Python OK
[93759] Shell OK
-> Writing file: mixed_async.txt
CHANGES: mixed_async.txt
LINE OLD | LINE NEW
--------------------------------------------------------------------------------------------------------------------------------------------
1 - Python Output: Python OK |
2 - Shell Output: Shell OK |
| 1 + Python OK
| 2 + Shell OK
Both the Python script and the shell command completed successfully. Their combined output has been saved to 'mixed_async.txt'.