Re: RUN and the shell
Posted in 1995
In article <3h9ll7$eii@cssun.mathcs.emory.edu>, Ian Timms <itimms@vprp333q.prop.telecom.com.au> wrote: > >I am using csh as my standard shell when invoking my 4gl programs >(using fglgo and SE), when the RUN command is used it is picking >up csh rather than sh as the shell to be used and thus a number of >commands (specifically redirection of stderr to stdout) fail and >I get an 'Ambiguos Output Redirect' message which does not occur >if sh/ksh are used. > >Q. Is there a way to force the RUN command to use sh? > An informix specific env setting perhaps? > >If not then I guess I'm stuck with setting SHELL prior to fglgo'ing >and restting it afterwards. > > >Cheers, Ian. >Hoping for a cleaner solution, > >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >% Ian Timms (DBA/Administrator) % Disclaimer: All opinions expressed % >% itimms@vprp333q.prop.telecom.com.au % herein are mine and mine alone! % >% Ph. 61+3+634-9144 % ==__( pretty piccy goes here )__== % >%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% In a 4gl application I used a fully qualified path name to the shell I wanted to execute. The Run command was used to call an ACE report from within a program.4ge file. Or use a shell script to call the program but set the environment variables in the shell script before the program call. Mike Petersen mgp@nwedim.att.com AT&T Lisle, IL /*********************************************************************/