ApplicationManagerRun Method |
Runs the specified application and returns its process object.
Namespace:
SmartBear.TestLeft
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax public IProcess Run(
string path,
string commandLine = "",
string workingFolder = ""
)
Public Function Run (
path As String,
Optional commandLine As String = "",
Optional workingFolder As String = ""
) As IProcess
Dim instance As ApplicationManager
Dim path As String
Dim commandLine As String
Dim workingFolder As String
Dim returnValue As IProcess
returnValue = instance.Run(path, commandLine,
workingFolder)
public:
IProcess^ Run(
String^ path,
String^ commandLine = L"",
String^ workingFolder = L""
)
Parameters
- path
- Type: SystemString
The path to the application. Can be specified as a fully-qualified path, as the application name (if the application is in PATH environment variables), or by using environment variables (%PROGRAMFILES%, %USERPFOFILE%). - commandLine (Optional)
- Type: SystemString
Command-line arguments for the application. - workingFolder (Optional)
- Type: SystemString
The path to the working folder of the application.
Return Value
Type:
IProcessThe
IProcess object that corresponds to the launched application instance.
Exceptions See Also