Xref: utzoo comp.sys.ibm.pc:23775 comp.lang.c:15796 Path: utzoo!attcan!cmtl01!matrox!uvm-gen!uunet!lll-winken!ames!pasteur!agate!garnet.berkeley.edu!ked From: ked@garnet.berkeley.edu (Earl H. Kinmonth) Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: Re: system() always returns 0? Keywords: MSC5.0 Message-ID: <19498@agate.BERKELEY.EDU> Date: 26 Jan 89 05:59:19 GMT References: <782@hawkmoon.MN.ORG> Sender: usenet@agate.BERKELEY.EDU Organization: University of California, Berkeley Lines: 11 In article <782@hawkmoon.MN.ORG> det@hawkmoon.MN.ORG (Derek E. Terveer) writes: >Has anyone encountered a problem with the Microsoft C 5.0 compiler always >returning a 0 from the system() call, no matter what the actual command >executed by system() returns? The same brain dead result occurs with the Turbo C system call. Presumably the problem is in command.com. I wrote my own system() using spawn to get around this. Remember, you don't get to be a multi-billion dollar company by doing this for the conveience of users.