16 lines
127 KiB
Plaintext
16 lines
127 KiB
Plaintext
TASK: Run a Python script async that exits with code 99 ('import sys; sys.exit(99)'). Poll it with process_get_status until it is no longer running, capture the exit status, and save the number '99' to 'exit_code_status.txt'.
|
|
----------------------------------------
|
|
Loading...
|
|
|
|
[1;34m┌─── Python Source Code ─────────────────────────────────────[0m
|
|
[1;34m│[0m [2m 1 |[0m [34mimport[0m[33m sys; sys.exit([36m99[0m[33m)[0m
|
|
[1;34m└────────────────────────────────────────────────────────────[0m
|
|
-> Writing file: exit_code_status.txt
|
|
|
|
[36m [2m CHANGES: exit_code_status.txt [0m
|
|
LINE OLD | LINE NEW
|
|
--------------------------------------------------------------------------------------------------------------------------------------------
|
|
1 99 | 1 99
|
|
|
|
The script exited with code 99, and the value has been saved to 'exit_code_status.txt'.
|