Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!umd5!decuac!macom1!rikki From: rikki@macom1.UUCP (R.L. Welsh (decuac!macom1!rikki)) Newsgroups: comp.lang.c Subject: Re: system (and mkdir) Message-ID: <3083@macom1.UUCP> Date: 1 Feb 88 20:37:39 GMT References: <2794@cbdkc1.ATT.COM> Organization: CENTEL Business Information Systems INC.,Rockville, MD. Lines: 15 From article <2794@cbdkc1.ATT.COM>, by pmd@cbdkc1.ATT.COM (Paul Dubuc): > In article <447@cpsc6b.cpsc6a.att.com> (Chris (I'm Outta Here!) Seaman) writes: > }As for what system is good for, try this one: How about if an application which is really a command interpreter but allows the user to escape to the shell to do things like "!write joe"? Back in the middle ages before the "system" call existed, we invariably included a routine in our applications to do that -- it simply forked /bin/sh (passing the parsed arguments), exec'd, and waited. It was invariable named "execute" or "system". Seemed like a useful thing. -- Rikki Welsh Centel Information Systems 5515 Security Lane, Rockville, Maryland, 20852, (301) 984-3636 UUCP: decuac!macom1!rikki