24 lines
315 KiB
Plaintext
Raw Normal View History

2026-01-29 07:42:06 +01:00
TASK: Execute 'echo Starting; sleep 5; echo Finished' with a 2 second timeout (NOT async). It should background. Poll it until it finishes and save a report to 'timeout_bg_test.txt' confirming it backgrounded and then finished.
----------------------------------------
Loading...
-> linux_terminal_execute (timeout 2s):
echo Starting; sleep 5; echo Finished
[214163] Starting
[214163] Starting
[214163] Starting
[214163] Starting
[214163] Starting
[214163] 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 has now finished. Its output has been saved to 'timeout_bg_test.txt'.