public override executionResult startExecutable(string toExecute, string args, string workingdir = null, cancellableDateTime deadline = null) { if (deadline == null) { deadline = new cancellableDateTime(); } return(executor.startExecutable(toExecute, args, workingdir, deadline)); }
public override executionResult startExecutable(string toExecute, string args, string workingdir = null, cancellableDateTime deadline = null) { if (_executor == null) { throw new NotSupportedException(); } executionResult toRet = _executor.startExecutable(toExecute, args, workingdir, deadline); //Debug.WriteLine("Command '{0}' with args '{1}' returned {2} stdout '{3}' stderr '{4}'", toExecute, args, toRet.resultCode, toRet.stdout, toRet.stderr); return(toRet); }