On 07/02/2012 03:54 AM, Eli Zaretskii wrote: > This means GetShortPathName fails, and the error code doesn't make any > sense. Are you sure you stopped _after_ this line: > > DWORD err = GetLastError (); > > ? Sorry about that: Breakpoint 1, main (argc=1, argv=0x9f2c00) at cmdproxy.c:566 566 DWORD err = GetLastError (); (gdb) n 567 if (spawn (NULL, GetCommandLine (), dir, &rc)) (gdb) p err $1 = 5 -- The fundamental asymmetry of consciousness means triangulation is the only path to understanding.