Mail Archives: djgpp-workers/2000/10/01/16:17:26
> > (I also discovered an interesting bug-feature of the system() command
> > during testing - I had an invalid directory in my path and system quit ...)
>
> I'd appreciate the details of this problem, like the exact invocation
> sequence, the situation with PATH, and what exactly happened (I'm not
> sure what does ``system quit'' mean--did it wedge the machine or
> what?).
Exactly what happened is not reproducible. In all cases it just didn't
do anything useful, but didn't wedge or anything.
Originally system() was failing, but I wasn't checking the return status.
I changed the path, then system() worked. Then I changed the path to a
simple failure example, and system() failed. It continued to fail when
I put the path back to just c:\DOS
I changed the system("command") to i = system("command.com") so I could
check the return status, and it started working again.
Since my whole goal was to be able to look at the DOS memory layout and
contents under new stubs when an image is active - I've moved on ...
- Raw text -