ReadProcessOutput (open)
Read any available data from the output stream
Syntax
LOADLIB "wh::os.whlib";
STRING FUNCTION ReadProcessOutput(INTEGER processid)
Parameters
INTEGER processid
Process to read output from
Return value
STRING
Text received from the process
Description
If no data is available, an empty string is returned. In this case, the caller should be sure to check IsProcessRunning. This function should not be called inside a loop without using WaitForProcessOutput, as doing so can cause 100% CPU usage.