IIORedirectAbstract
01 Syntax
Microsoft.VisualBasic.CommandLine.IIORedirectAbstract
02 Methods
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| StandardOutput | 1 | Gets the standard output for the target invoke process. |
| Bin | 1 | |
| CLIArguments | 1 |
04 Events
| Name | Overloads | Summary |
|---|---|---|
| ProcessExit | 2 | The target invoked process event has been exit with a specific return code.(目标派生子进程已经结束了运行并且返回了一个错误值) |
05 Members
Start(
Boolean)Start the target process. If the target invoked process is currently on the running state, then this function will returns the -100 value as error code and print the warning information on the system console.(启动目标进程)
Parameters
| Name | Type | Description |
|---|---|---|
WaitForExit | Boolean | Indicate that the program code wait for the target process exit or not?(参数指示应用程序代码是否等待目标进程的结束) |
Returns
当发生错误的时候会返回错误代码,当当前的进程任然处于运行的状态的时候,程序会返回-100错误代码并在终端之上打印出警告信息
Run
启动目标子进程,然后等待执行完毕并返回退出代码(请注意,在进程未执行完毕之前,整个线程会阻塞在这里)
StandardOutput
Gets the standard output for the target invoke process.
ProcessExit
The target invoked process event has been exit with a specific return code.(目标派生子进程已经结束了运行并且返回了一个错误值)
Parameters
| Name | Description |
|---|---|
exitCode | - |
exitTime | - |
Bin
CLIArguments
ProcessExit