Message-ID: <01BB0062.38D68B00@hf2rules.res.jhu.edu.res.jhu.edu> From: "Michael A. Phelps" To: "'DJGPP'" Subject: spawnlp() vs system() Date: Wed, 21 Feb 1996 13:40:52 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have a DJGPP v1.11 program that calls a v2 program using the = spawnlp() function. However, whenever it tries to spawn this particular = program, I briefly get a segmentation violation message and execution is = quickly restored to the calling program. However, when I replaced the = spawnlp() function with a system() instead, now it works. Why the = difference? Yeah, yeah, I know, why I am I still using v1.11? The machine that = I've been using for developing for someone else still has v1.11 on it, = while my machine at home has v2.0, so when I'm over there I have to use = v1.11. I was just curious as to what was the fundamental difference between = the two function calls that caused one to fail and the other to succeed. ---Michael Phelps