Method consoleProcess.Wait
Overload
Waits for more text and tells next consoleProcess.Read to get old + new text.
public bool Wait(int timeout = -1)
Parameters
timeout (int)
Timeout, ms. The function returns |
Returns
bool
|
Exceptions
InvalidOperationException
consoleProcess.IsLine
|
Remarks
If returns true
, next consoleProcess.Read will get the old text + new text. If the console process ends while waiting, next Read will get the old text, and consoleProcess.IsLine will be true
.