// // Whens // protected void the_command_is_run(string command) { try { _result = _shell.Run(command); } catch (Exception e) { _exception = e; } }
protected void the_command_is_run_with_working_directory(string command, string path) { _result = _shell.Run(command, workingDirectory: path); }
protected void the_command_is_run_with_args(string command, string args) { _result = _shell.Run(command, args); }