2026-01-29 08:06:31 +01:00
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'.
2026-01-29 07:42:06 +01:00
----------------------------------------
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
--------------------------------------------------------------------------------------------------------------------------------------------
2026-01-29 08:06:31 +01:00
1 [31m- [0m [31mExit status: 99
2026-01-29 07:42:06 +01:00
2026-01-29 08:06:31 +01:00
The script exited with code 99, and the exit code has been saved to 'exit_code_status.txt'.