Thanks Arnt And thanks to all for there help. It appears that the format Arnt suggested below is the only one that works. Why this is so I do not know.I guess Debian does not recognise some or all the commands I was trying to use in my original script.
Arnt Karlsen writes > >On Tue, 01 Aug 2006 18:10:35 +0800, Innis wrote in message ><[EMAIL PROTECTED]>: > > > Hi All > > I am tring to run FG from the following bash script without success. > > > > #!/bin/bash > > cmdline=" > > --fg-root=/home/innis/FlightGear > > --fg-scenery=/home/innis/FlightGear/Scenery > > --aircraft=ufo > > --airport=YSSY > > " > > >..try: >#!/bin/bash -e > /home/innis/bin/fgfs \ >--fg-root=/home/innis/FlightGear \ >--fg-scenery=/home/innis/FlightGear/Scenery \ >--aircraft=ufo \ >--airport=YSSY > >..'chmod 750 or-somesuch-it', if you name it 'or-somesuch-it', run it as >'./or-somesuch-it' or '/home/innis/bin/or-somesuch-it' . Cheers Innis ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users
