nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / IIORedirectAbstract

IIORedirectAbstract

Full name Microsoft.VisualBasic.CommandLine.IIORedirectAbstract Assembly Microsoft.VisualBasic.Runtime Members 7

01 Syntax

Microsoft.VisualBasic.CommandLine.IIORedirectAbstract

02 Methods

NameOverloadsSummary
Start 1 Start the target process.
Run 1 启动目标子进程,然后等待执行完毕并返回退出代码(请注意,在进程未执行完毕之前,整个线程会阻塞在这里)

03 Properties

NameOverloadsSummary
StandardOutput 1 Gets the standard output for the target invoke process.
Bin 1
CLIArguments 1

04 Events

NameOverloadsSummary
ProcessExit 2 The target invoked process event has been exit with a specific return code.(目标派生子进程已经结束了运行并且返回了一个错误值)

05 Members

method Start #
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
NameTypeDescription
WaitForExitBoolean

Indicate that the program code wait for the target process exit or not?(参数指示应用程序代码是否等待目标进程的结束)

Returns

当发生错误的时候会返回错误代码,当当前的进程任然处于运行的状态的时候,程序会返回-100错误代码并在终端之上打印出警告信息

method Run #
Run

启动目标子进程,然后等待执行完毕并返回退出代码(请注意,在进程未执行完毕之前,整个线程会阻塞在这里)

property StandardOutput #
StandardOutput

Gets the standard output for the target invoke process.

event ProcessExit #
ProcessExit

The target invoked process event has been exit with a specific return code.(目标派生子进程已经结束了运行并且返回了一个错误值)

Parameters
NameDescription
exitCode

-

exitTime

-

property Bin #
Bin
property CLIArguments #
CLIArguments
event ProcessExit overload 2 #
ProcessExit