From: Abhijit Gadgil Date: 2007-04-26T15:47:22+09:00 Subject: Re: How to run script file using system command Hi, Please see below. On 4/26/07, Dhiraj Girdhar wrote:> Alex Gutteridge wrote:> > On 26 Apr 2007, at 15:04, Dhiraj Girdhar wrote:> >> >>> >> Please tell me why script file is not running?> >> > If that is really what you ran then you have a space in your command.> >> > Alex Gutteridge> >> > Bioinformatics Center> > Kyoto University>> Please tell me if i have a script file say scriptfile, then how i can> run that file using ruby.> Please explaain with example. (assuming Unixish system)bash$ cat > tp "hello world!"Ctrl.d (Pressing Ctrl and d key) bash$ ruby -e 'system("ruby", "t")'hello world!bash$ > Dhiraj>> --> Posted via http://www.ruby-forum.com/.>> -- अभिजीत [ written in http://www.paahijen.com/scratchpad ] [ http://www.paahijen.com ]