Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
private static CorProcess StartProcess(CorDebugger debugger, string programName)
var currentDirectory = Directory.GetCurrentDirectory();
//const CREATE_NO_WINDOW = 0x08000000 Use this to create process without a console
var corProcess = debugger.CreateProcess(programName, "", currentDirectory, (int)CreateProcessFlags.CREATE_NEW_CONSOLE);
corProcess.Continue(outOfBand: false);
return corProcess;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment