public IChildProcessHandle Create(string assemblyName, bool openDebugConsole, bool is64Bit, bool monitorHostProcess) { IProcessStartOperation processStarter; if (is64Bit) { processStarter = new ProcessStarter64Bit(); } else { processStarter = new ProcessStarter32Bit(); } return new RemotedProcessBootstrapper( new StartProcessWithTimeout( new StartProcessWithJobSupport( processStarter))).Create(assemblyName, openDebugConsole, monitorHostProcess); }
public IChildProcessHandle Create(string assemblyName, bool openDebugConsole, bool is64Bit) { IProcessStartOperation processStarter; if (is64Bit) { processStarter = new ProcessStarter64Bit(); } else { processStarter = new ProcessStarter32Bit(); } return(new RemotedProcessBootstrapper( new StartProcessWithTimeout( new StartProcessWithJobSupport( processStarter))).Create(assemblyName, openDebugConsole)); }
public IChildProcessHandle Create(string assemblyName, bool openDebugConsole = false, bool is64Bit = false, bool monitorHostProcess = false) { IProcessStartOperation processStarter; if (is64Bit) { processStarter = new ProcessStarter64Bit() { ClientExecutablePath = ClientExecutablePath }; } else { processStarter = new ProcessStarter32Bit() { ClientExecutablePath = ClientExecutablePath }; } return(new RemotedProcessBootstrapper( new StartProcessWithTimeout( new StartProcessWithJobSupport( processStarter))).Create(assemblyName, openDebugConsole, monitorHostProcess)); }