Waits for a process to exist.
The name of the process to wait for.
The timeout in seconds. Default is 0 (wait indefinitely).
1 if the process exists, 0 if the timeout is reached.
import { ProcessWait } from '@ahmic/autoit-js';ProcessWait('notepad.exe', 10); Copy
import { ProcessWait } from '@ahmic/autoit-js';ProcessWait('notepad.exe', 10);
https://www.autoitscript.com/autoit3/docs/functions/ProcessWait.htm
Waits for a process to exist.