wait_for_finish {xopen} | R Documentation |
Wait for a process to finish
Description
With timeout(s), and interaction, if the session is interactive.
Usage
wait_for_finish(process, target, timeout1 = 2000, timeout2 = 5000)
Arguments
process |
The process. It should not have |
timeout1 |
Timeout before message. |
timeout2 |
Timeout after message. |
Details
First we wait for 2s. If the process is still alive, then we give it another 5s, but first let the user know that they can interrupt the process.
[Package xopen version 1.0.0 Index]