public PowerShellTaskFactory(IOutputService outputService, ICommandErrorReporter errorReporter, ICommandLogParser logParser, IShellCommandRunner commandRunner) { this.outputService = outputService; this.errorReporter = errorReporter; this.logParser = logParser; this.commandRunner = commandRunner; }
private BoltStubServer(string script, int port) { _commandRunner = ShellCommandRunnerFactory.Create(); _commandRunner.BeginRunCommand("boltstub", port.ToString(), script); _port = port; WaitForServer(_port); }
private BoltStubServer(string script, int port) { _commandRunner = ShellCommandRunnerFactory.Create(); //_commandRunner.BeginRunCommand("bolt", "stub", "-l", "127.0.0.1:" + port.ToString(), "-v", script); _commandRunner.BeginRunCommand("boltstub", "-v", port.ToString(), "-v", script); WaitForServer(port); }
public ExternalBoltkitInstaller() { _commandRunner = ShellCommandRunnerFactory.Create(); }
public PackageListRetriver(IShellCommandRunner shellCommandRunner) { _shellCommandRunner = shellCommandRunner; }
public PackageInstaller(IShellCommandRunner shellCommandRunner) { _shellCommandRunner = shellCommandRunner; }
public void Before() { this.commandRunner = new PowerShellCommandRunner(); }
public PackageUninstaller(IShellCommandRunner shellCommandRunner) { _shellCommandRunner = shellCommandRunner; }
public PackageListRetriver(IShellCommandRunner shellCommandRunner) { _shellCommandRunner = shellCommandRunner; }