20 lines
127 KiB
Plaintext
Raw Normal View History

TASK: Execute 'echo Starting; sleep 5; echo Finished' with a 2 second timeout (NOT async). It will background automatically. You MUST poll it with process_get_status until it finishes and then save a report to 'timeout_bg_test.txt' that MUST contain the words 'backgrounded' and 'finished successfully'.
----------------------------------------
Loading...
-> linux_terminal_execute (timeout 2s):
echo Starting; sleep 5; echo Finished
[93820] Starting
[93820] Starting
[93820] Starting
[93820] Starting
[93820] Finished
-> Writing file: timeout_bg_test.txt
  CHANGES: timeout_bg_test.txt 
LINE OLD
--------------------------------------------------------------------------------------------------------------------------------------------
1 backgrounded and finished successfully
The command was backgrounded and completed successfully. The report has been saved to 'timeout_bg_test.txt'.