Thanks, I'll try that out.. Do you think I can set the SYSTEMROOT in my own call to _spawnlpe() or should I apply the patch to the cygwin source and rebuild the DLL? Thanks for the reply. I had lost hope of a response long ago! Craig Nelson, Cameo Systems Inc.