16 lines
127 KiB
Plaintext
Raw Normal View History

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...
┌─── Python Source Code ─────────────────────────────────────
│  1 | import sys; sys.exit(99)
└────────────────────────────────────────────────────────────
-> Writing file: exit_code_status.txt
  CHANGES: exit_code_status.txt 
LINE OLD
--------------------------------------------------------------------------------------------------------------------------------------------
1 99
The script exited with code 99, and the value has been saved to 'exit_code_status.txt'.