> Hmm.  You know, I probably should just steal the code from DJGPP...

You could, if you feel like weeding out all the DPMI calls and dos-isms ;-)

It's in DJGPP's src/libc/dos/process/dosexec.c.  Search for
"script_exec".

Reply via email to