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, capture the exit status, and save it 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
|
|||
|
|
--------------------------------------------------------------------------------------------------------------------------------------------
|
|||
|
|
1 Exit status: 99
|
|||
|
|
|
|||
|
|
The script exited with code 99, and this status has been saved to 'exit_code_status.txt'.
|