Method consoleProcess.ReadLine
Overload
Waits and reads next full line.
public bool ReadLine(out string s)
Parameters
s (string)
Receives the text. It does not contain newline characters ( |
Returns
bool
|
Exceptions
AuException
Failed. |
Remarks
Waits for new text from console, reads it into an internal buffer, and then returns it one full line at a time.
To read a prompt (incomplete line that asks for user input), use consoleProcess.Read instead. This function would just hang waiting for full line ending with newline characters.