Re: using spawn functions to avoid fork() errors -- FIXED

2014-02-07 Thread Andrey Repin
Greetings, Steven Bardwell! > I found the problem that was causing the failure of child creation logic > on the 64-bit install but not on the 32-bit version: > in an effort to make the output from 'ps' more useful, my application was > over-writing the contents of argv[1] in the main process. Th

RE: using spawn functions to avoid fork() errors -- FIXED

2014-02-07 Thread Steven Bardwell
> >> On 2/6/2014 8:50 AM, Steven Bardwell wrote: > >>> Larry - thanks for the link to the source for the spawn() APIs. It > > works > >>> perfectly on my 32-bit install (where, as it happens, the fork() issue > >>> never shows up either). > >>> > >>> However, on my 64-bit install, the spawnv() cal

RE: using spawn functions to avoid fork() errors -- FIXED

2014-02-07 Thread Steven Bardwell
> >> On 2/6/2014 8:50 AM, Steven Bardwell wrote: > >>> Larry - thanks for the link to the source for the spawn() APIs. It > > works > >>> perfectly on my 32-bit install (where, as it happens, the fork() issue > >>> never shows up either). > >>> > >>> However, on my 64-bit install, the spawnv() cal