From b97b502dbad455bec3f224dd90e9f363154eabab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Srbeck=C3=BD?= Date: Mon, 18 Apr 2005 20:04:31 +0000 Subject: [PATCH] "workingDirectory" and "arguments" used in CreateProcess (Since 2.0.50215 this prevented the debugger to start) git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@95 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../Debugger/Debugger.Core/Project/Src/Threads/Process.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Process.cs b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Process.cs index e634525a2f..b69125cd23 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Process.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Process.cs @@ -110,13 +110,13 @@ namespace DebuggerLibrary fixed (uint* pprocessInfo = processInfo) NDebugger.CorDebug.CreateProcess( filename, // lpApplicationName - null, // lpCommandLine + arguments, // lpCommandLine ref secAttr, // lpProcessAttributes ref secAttr, // lpThreadAttributes 1,//TRUE // bInheritHandles 0, // dwCreationFlags IntPtr.Zero, // lpEnvironment - null, // lpCurrentDirectory + workingDirectory, // lpCurrentDirectory (uint)pprocessStartupInfo, // lpStartupInfo (uint)pprocessInfo, // lpProcessInformation, CorDebugCreateProcessFlags.DEBUG_NO_SPECIAL_OPTIONS, // debuggingFlags