Potentially yes to both - it could well take a long time, and I'd like to check the error code, just in case. Although - would this make a difference? I'm guessing it's not a question of how long the child will run after the exec(), but how long after the fork() it takes to exec(), and if a different thread gets a chance to run (that is, assuming that forking on a unix-like system duplicates threads). | [reply] |