Microsoft FactoryOrchestrator Client FactoryOrchestratorClient RunExecutable(string string string bool)
Microsoft.FactoryOrchestrator.Client
Microsoft.FactoryOrchestrator.Client.FactoryOrchestratorClient
FactoryOrchestratorClient.RunExecutable(string, string, string, bool) Method
Asynchronously Runs an executable (.exe) outside of a Task/TaskList.
public System.Threading.Tasks.Task<Microsoft.FactoryOrchestrator.Core.TaskRun> RunExecutable(string exeFilePath, string arguments, string logFilePath=null, bool runInContainer=false);
Parameters
exeFilePath
System.String
Full path to the .exe file
arguments
System.String
Arguments to pass to the .exe
logFilePath
System.String
Optional log file to save the console output to.
runInContainer
System.Boolean
If true, run the executable in the container of the connected device.
Returns
System.Threading.Tasks.Task<Microsoft.FactoryOrchestrator.Core.TaskRun>
The TaskRun associated with the .exe