Re: RUN and the shell
Posted in 1995
Jeffrey Sturm — — source: Informix-list mailing list archive (1991-1998)
Alan Popiel (alan@po.den.mmc.com) wrote: : } : } Q. Is there a way to force the RUN command to use sh? : } An informix specific env setting perhaps? : } : How about having your RUN command run a script, and having the script run : the program you want? However, the first line of the script should be: : #! /bin/sh : which will cause it to use sh instead of csh. Or just place `/bin/sh -c' into your RUN statement: RUN "/bin/sh -c 'echo stuff >/tmp/file'" For short shell commands, this saves having to create a script. -- Jeff Sturm jsturm@garnet.msen.com