From: "Ara.T.Howard" Date: 2004-06-30T10:42:53+09:00 Subject: Re: [RCR/BUG?] fix system On Wed, 30 Jun 2004, Yukihiro Matsumoto wrote: > Hi, > > In message "[RCR/BUG?] fix system" > on 04/06/30, "Ara.T.Howard" writes: > > |the above behaviour of system means the following rules must be followed when > |making system calls: > > If you put the shell special characters ("*?{}[]<>()~&|\\$;'`\"\n") in > the command string, system() will prepend "sh -c" to the command string, > so that > > no-such-command > > was interpreted as > > sh -c no-such-command > > that explains the behavior. > > matz. yes it does... i guess it's just a little odd when combined with the exception throwing through... so, the reccomended policy is to be prepared to deal with both exceptions and $? - correct? cheers. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | A flower falls, even though we love it; | and a weed grows, even though we do not love it. | --Dogen ===============================================================================