Hi Carlos, Did not work out of the box, but there is a 6 characters fix: Replace * handle = kernel32.OpenProcess(0x0400, 0, pid)* by * handle = kernel32.OpenProcess(1, 0, pid)*
0x0400 corresponds to PROCESS_QUERY_INFORMATION http://msdn.microsoft.com/en-us/library/windows/desktop/ms684880(v=vs.85).aspx By adding the line err = ctypes.windll.kernel32.GetLastError() just after the call of GetExitCodeProcess. I could see that I was getting ERROR_ACCESS_DENIED (error 5). Instead of manually using 0x0400, it could be cleaner to import win32con.PROCESS_QUERY_INFORMATION: >>> import win32con >>> win32con.PROCESS_QUERY_INFORMATION 1024 >>> 0x0400 1024 Thanks! Sylvain On Tuesday, April 16, 2013 10:09:11 AM UTC-4, Carlos Córdoba wrote: > > Thanks for pushing Sylvain changes Jed. I got a terrible flu this weekend > so I couldn't do any Spyder related job =) > > Sylvain, I'm attaching a new lockfile.py incorporating the changes of the > blog post you referenced. Could you try it and tell us if it's working for > you? I tested it in my local machines and it's doing its job as before. > > Cheers, > Carlos > > El 15/04/13 12:45, Jed Ludlow escribió: > > On Sunday, April 14, 2013 8:32:18 PM UTC-6, Sylvain Corlay wrote: > >> No pb, I can test your changes when you have it. >> Good luck with the last lap before the final release. >> Best, >> Sylvain >> >> > Not trying to steal Carlos's thunder, but I had a little bit of time > over the weekend to look at the the "run selection" behavior and the debug > toolbar issues. I just pushed a couple of changes that should solve them. > If you find any additional issues with the changes, please open up an issue > on the tracker. > > Jed > -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected]<javascript:> > . > Visit this group at http://groups.google.com/group/spyderlib?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
