IProcess.

WaitForExit(int) Method

Summary

Waits for the process to exit with possible timeout for command.
Namespace
Cake.Core.IO
Containing Type
IProcess

Syntax

bool WaitForExit(int milliseconds)

Parameters

Name Type Description
milliseconds int The amount of time, in milliseconds, to wait for the associated process to exit. The maximum is the largest possible value of a 32-bit integer, which represents infinity to the operating system.

Return Value

Type Description
bool true if the associated process has exited; otherwise, false.