ProcessControllerExecuteProcess Method |
Executes the process.
Namespace:
Xcalibur.Controllers
Assembly:
Xcalibur.Controllers (in Xcalibur.Controllers.dll) Version: 1.0.5.0 (1.0.0.0)
Syntax public static string ExecuteProcess(
string file,
string arguments = "",
string directory = "",
bool openNewWindow = false
)
Public Shared Function ExecuteProcess (
file As String,
Optional arguments As String = "",
Optional directory As String = "",
Optional openNewWindow As Boolean = false
) As String
public:
static String^ ExecuteProcess(
String^ file,
String^ arguments = L"",
String^ directory = L"",
bool openNewWindow = false
)
static member ExecuteProcess :
file : string *
?arguments : string *
?directory : string *
?openNewWindow : bool
(* Defaults:
let _arguments = defaultArg arguments ""
let _directory = defaultArg directory ""
let _openNewWindow = defaultArg openNewWindow false
*)
-> string
Parameters
- file
- Type: SystemString
The fileto execute. - arguments (Optional)
- Type: SystemString
The arguments. - directory (Optional)
- Type: SystemString
The working directory of the file. - openNewWindow (Optional)
- Type: SystemBoolean
if set to true [open new window].
Return Value
Type:
StringSee Also