Files
r/test_results/T16_output.txt
T

24 lines
378 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
[229037] Starting
[229037] Starting
[229037] Starting
[229037] Starting
[229037] Finished
-> Writing file: timeout_bg_test.txt
  CHANGES: timeout_bg_test.txt 
LINE OLD
--------------------------------------------------------------------------------------------------------------------------------------------
1 - The process was backgrounded and completed successfully.
2 - Output:
3 - Starting
4 - Finished
The command was backgrounded and completed successfully. The report has been saved to 'timeout_bg_test.txt'.