private string GetExecutionRunner(ExecutionCommand command, DotNetExecutionCommand dotcmd) { if (command is ProcessExecutionCommand processExecutionCommand && processExecutionCommand.ProcessExecutionArchitecture != ProcessExecutionArchitecture.Unspecified) { return(runtime.GetMonoExecutable(processExecutionCommand.ProcessExecutionArchitecture)); } return(runtime.GetMonoExecutableForAssembly(dotcmd.Command)); }