[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-patches
Subject:    [Mono-patches] r154562 -
From:       "Lluis Sanchez (lluis () ximian ! com)" <mono-patches-list () lists ! ximian ! com>
Date:       2010-03-31 17:04:20
Message-ID: 20100331170420.EDEDB26064 () mono-cvs ! ximian ! com
[Download RAW message or body]

Author: lluis
Date: 2010-03-31 13:04:20 -0400 (Wed, 31 Mar 2010)
New Revision: 154562

Modified:
   trunk/monodevelop/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorDebuggerSession.cs
 Log:
Append the exe name to the command line argument when calling CreateProcess.


Modified: trunk/monodevelop/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorDebuggerSession.cs
 ===================================================================
--- trunk/monodevelop/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorDebuggerSession.cs	2010-03-31 \
                16:08:09 UTC (rev 154561)
+++ trunk/monodevelop/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorDebuggerSession.cs	2010-03-31 \
17:04:20 UTC (rev 154562) @@ -112,7 +112,10 @@
 			foreach (KeyValuePair<string, string> var in startInfo.EnvironmentVariables)
 				env[var.Key] = var.Value;
 
-			process = dbg.CreateProcess (startInfo.Command, startInfo.Arguments, \
startInfo.WorkingDirectory, env); +            // The second parameter of \
CreateProcess is the command line, and it includes the application being launched +   \
string cmdLine = "\"" + startInfo.Command + "\" " + startInfo.Arguments; +
+            process = dbg.CreateProcess(startInfo.Command, cmdLine, \
startInfo.WorkingDirectory, env);  processId = process.Id;
 
 			process.OnCreateProcess += new CorProcessEventHandler (OnCreateProcess);

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic