Skip to content

Microsoft FactoryOrchestrator Core IFactoryOrchestratorService RunExecutable(string string string bool)

Microsoft.FactoryOrchestrator.Core

Microsoft.FactoryOrchestrator.Core.IFactoryOrchestratorService

IFactoryOrchestratorService.RunExecutable(string, string, string, bool) Method

Runs an executable (.exe) outside of a Task/TaskList.

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

TaskRun
The TaskRun associated with the .exe