Date: Sat, 13 Jan 1996 13:28:06 -0800 (GMT) From: Orlando Andico To: DJGPP Mailing List Message-ID: MIME-Version: 1.0 Does anyone know why gcc on multitasking systems doesn't have spawn...()? (sorry if this isn't related directly to DJGPP...) I use spawn with DJGPP all the time... now I want to do the same thing under Linux. But there's no spawn. Apparently, the solution is to fork(), do nothing in the child (return value == 0) and execve() the _thing_to_be_spawned_ in the parent (overwriting momma). This seems to work, but the problem is, my program is inherently single-threaded and needs something from the _thing_that_is_spawned_. But due to the fork(), I can't know if the _thing_to_be_spawned_ has done its thing yet... (unlike spawn which returns when the _thing..._ has done its potty). Any ideas? Thanks, --------------------------------------------------------------------------- Orlando A. Andico Instrumentation, Control, and Robotics Lab oandico AT gollum DOT eee DOT upd DOT edu DOT ph Dept of Electrical & Electronics Eng'g http://gollum.eee.upd.edu.ph:9000/ UP Diliman ---------------------------------------------------------------------------