System::Diagnostics::Process::WaitForExit method

Process::WaitForExit() method

Waits for process to exit, doesn’t return until it’s over.

void System::Diagnostics::Process::WaitForExit()

See Also

Process::WaitForExit(int) method

Waits for process to exit. Not implemented.

bool System::Diagnostics::Process::WaitForExit(int milliseconds)
ParameterTypeDescription
millisecondsintMaximum waiting delay.

ReturnValue

True if process is finished, false if timeout exceeds.

See Also