OSExecute class | QSYS API Reference Guide
This class contains methods to start an external process.
Namespace: ASNA.QSys.Runtime Assembly: ASNA.QSys.Runtime.dll
Inheritance: Object
Methods
Signature | Description |
---|---|
Run(String, String, String, ProcessWindowStyle, Boolean) | Starts an external process using the arguments to construct a System.Diagnostics.ProcessStartInfo object and direct how the process is started. |
void Run(string commandLine, string directory, string operationString, ProcessWindowStyle windowStyle, bool wait)
Starts an external process using the arguments to construct a System.Diagnostics.ProcessStartInfo object and direct how the process is started.
void Run(string commandLine, string directory, string operationString, ProcessWindowStyle windowStyle, bool wait)
Parameters
Type | Parameter name | Description |
---|---|---|
String | commandLine | The command line to launch. It may be the name of a file that the system will open in the corresponding default application, or it can be an application with its arguments. |
String | directory | The working directory for the new process. |
String | operationString | This corresponds to System.Diagnostics.ProcessStartInfo.Verb, which is the action to take when opening the indicated document or application. |
ProcessWindowStyle | windowStyle | The ProcessWindowStyle value that selects the window style of the new process. |
Boolean | wait | Indicates whether to wait for the process to finish. |