ReadProgramError()
语法
Result$ = ReadProgramError(Program [, Flags])概要
Reads a line from the specified programs error output (stderr). Unlike ReadProgramData(), this function doesn't halt the program flow if no error output is available.
参数
Program The program to use. It must have been started before with RunProgram() and the #PB_Program_Error flag. Flags (optional) The string format to use when reading the error output. This can be one of the following values: #PB_Ascii : Reads the error output as ascii #PB_UTF8 : Reads the error output as UTF8 #PB_Unicode: Reads the error output as unicode
返回值
The error string, or an empty string if there is no error output.
已支持操作系统
所有