Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
system() always returns 0?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Richard Bos, post: 4081766"] I don't know if this is still true, but at least in the MS-DOS days it was not system() which had the problem, but the command shell. Command.com always returned 0 to _its_ calling process, no matter what a called program returned to command.com. Thus, regardless of the implementation, system() never got anything but 0 to return to you in the first place. The compiler writer would have had to implement a completely new command shell to load and run programs, which was a bit too hairy for most to bother with. Richard [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
system() always returns 0?
Top