[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Process.Wait not behaving as expected


Le 03/01/2026 à 20:04, Lee a écrit :

Yes, it works great. With a wait value of 0 to 1 in 100 millisecond increments, it successfully captures the process output and exit code.

Now, how does Process.Wait(0) actually behave? Is it vaguely similar to "WAIT 0" in that it actually waits for some event or perhaps output or exit code from the process?



'Process.Wait(0)' is the same thing as 'Process.Wait()'. It waits until the process ends.

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: Process.Wait not behaving as expectedLee <t.lee.davidson@xxxxxxxxx>
References:
Process.Wait not behaving as expectedLee <t.lee.davidson@xxxxxxxxx>
Re: Process.Wait not behaving as expectedLee <t.lee.davidson@xxxxxxxxx>
Re: Process.Wait not behaving as expectedBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Process.Wait not behaving as expectedBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Process.Wait not behaving as expectedLee <t.lee.davidson@xxxxxxxxx>
Re: Process.Wait not behaving as expectedBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Process.Wait not behaving as expectedBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Process.Wait not behaving as expectedLee <t.lee.davidson@xxxxxxxxx>