How to found the process by CLI
PipelineProcess
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetProc | 1 | Get process by command line parameter.(按照命令行参数来获取进程实例) |
| FindProc | 1 | 这个主要是为了IORedirectFile对象进行相关进程的查找而设置的, 对于IORedirect而言则直接可以从其属性IORedirect.processInfo之中获取相关的进程信息 |
| ExecSub | 2 | 执行CMD命令 Example: vbnet Call excuteCommand("ipconfig", "/all", AddressOf PrintMessage) |
| handleRunStream | 1 | |
| CheckProcessStreamOpen | 1 | A common wrapper for check of the sub-process stdout stream is avaiable? |
| CreatePipeline | 1 | Create a new process |
| CallDotNetCorePipeline | 1 | |
| Call | 2 | Run process and then gets the std_out of the child process |
03 Members
String)Get process by command line parameter.(按照命令行参数来获取进程实例)
| Name | Type | Description |
|---|---|---|
cli | String | - |
这个主要是为了IORedirectFile对象进行相关进程的查找而设置的, 对于IORedirect而言则直接可以从其属性IORedirect.processInfo之中获取相关的进程信息
| Name | Type | Description |
|---|---|---|
IO | IIORedirectAbstract | - |
String, String, Action(Of String), String, String, String, Boolean, Action(Of Process))执行CMD命令
Example:
Call excuteCommand("ipconfig", "/all", AddressOf PrintMessage)| Name | Type | Description |
|---|---|---|
app | String | 命令 |
args | String | 参数 |
onReadLine | Action(Of String) | 行信息(委托) |
String, String, String)| Name | Type | Description |
|---|---|---|
app$ | String | - |
args$ | String | - |
in$ | String | - |
The standard output of the target app, the data inside this stream object may contains text or image or other binary data.
Process, String, Action(Of String), Boolean)| Name | Type | Description |
|---|---|---|
p | Process | - |
in | String | the standard input |
onReadLine | Action(Of String) | populate the standard output lines |
Process, StreamReader)A common wrapper for check of the sub-process stdout stream is avaiable?
| Name | Type | Description |
|---|---|---|
p | Process | - |
reader | StreamReader | - |
String, String, Boolean, String)Create a new process
| Name | Type | Description |
|---|---|---|
appPath | String | - |
args | String | - |
it | Boolean | this option will affects the UseShellExecute:
parameter value set to TRUE means not UseShellExecute |
the target process object is already has been started in this function.
| Name | Type | Description |
|---|---|---|
app | InteropService | the |
args | String | - |
[in] | String | - |
String, String, String, Boolean, String, Int32, Boolean, String)Run process and then gets the std_out of the child process
| Name | Type | Description |
|---|---|---|
app | String | The file path of the application to be called by its parent process. |
args | String | CLI arguments |
Run process and then gets the std_out of the child process
| Name | Type | Description |
|---|---|---|
app | InteropService | The file path of the application to be called by its parent process. |
args | String | CLI arguments |
dotnet | String | Run a .NET core console application? |