20 lines
127 KiB
Plaintext
20 lines
127 KiB
Plaintext
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...
|
|
|
|
[1m-> linux_terminal_execute (timeout 2s):[0m
|
|
[2mecho Starting; sleep 5; echo Finished[0m
|
|
[93820] Starting
|
|
[93820] Starting
|
|
[93820] Starting
|
|
[93820] Starting
|
|
[93820] Finished
|
|
-> Writing file: timeout_bg_test.txt
|
|
|
|
[36m [2m CHANGES: timeout_bg_test.txt [0m
|
|
LINE OLD | LINE NEW
|
|
--------------------------------------------------------------------------------------------------------------------------------------------
|
|
1 backgrounded and finished successfully | 1 backgrounded and finished successfully
|
|
|
|
The command was backgrounded and completed successfully. The report has been saved to 'timeout_bg_test.txt'.
|