public static IProcessAsyncOperation Run(string file, IConsole console) { DebugExecutionHandler h = new DebugExecutionHandler(null); ExecutionCommand cmd = Runtime.ProcessService.CreateCommand(file); return(h.Execute(cmd, console)); }
public IProcessAsyncOperation Execute (ExecutionCommand command, IConsole console) { if (!CanExecute (command)) return null; DebugExecutionHandler h = new DebugExecutionHandler (null); return h.Execute (command, console); }
public IProcessAsyncOperation Execute(ExecutionCommand command, IConsole console) { if (!CanExecute(command)) { return(null); } DebugExecutionHandler h = new DebugExecutionHandler(null); return(h.Execute(command, console)); }
public static IProcessAsyncOperation Run(string file, string args, string workingDir, IDictionary <string, string> envVars, IConsole console) { var h = new DebugExecutionHandler(null); var cmd = Runtime.ProcessService.CreateCommand(file); if (args != null) { cmd.Arguments = args; } if (workingDir != null) { cmd.WorkingDirectory = workingDir; } if (envVars != null) { cmd.EnvironmentVariables = envVars; } return(h.Execute(cmd, console)); }
public IProcessAsyncOperation Execute (ExecutionCommand command, IConsole console) { DebugExecutionHandler h = new DebugExecutionHandler (engine); return h.Execute (command, console); }
public static IProcessAsyncOperation Run (string file, IConsole console) { DebugExecutionHandler h = new DebugExecutionHandler (null); ExecutionCommand cmd = Runtime.ProcessService.CreateCommand (file); return h.Execute (cmd, console); }
public IProcessAsyncOperation Execute(ExecutionCommand command, IConsole console) { DebugExecutionHandler h = new DebugExecutionHandler(engine); return(h.Execute(command, console)); }