From: "Sethna, Zubin" Date: 2002-09-25T11:58:08+09:00 Subject: RE: Newbie question: Calling a shell script from ruby yes, my question was about calling perl scripts. I didn't state the platform because it was a general question. However the platforms i'm interested in are unix, linux and windows running cygwin so what has been suggested should work on all those platforms. regards Zubin > -----Original Message----- > From: Henderson, Michael D [mailto:michael.d.henderson@lmco.com] > Sent: Wednesday, 25 September 2002 12:52 PM > To: ruby-talk@ruby-lang.org > Subject: RE: Newbie question: Calling a shell script from ruby > > > I thought that Zubin's original question was about calling > perl scripts. > > Don't know why, but I also assumed that he was on a unix box. > I don't know > if Windows has anything like the #! magic number. > > Mike > > -----Original Message----- > From: GOTO Kentaro [mailto:gotoken@notwork.org] > > At Wed, 25 Sep 2002 09:39:20 +0900, > Henderson, Michael D wrote: > > > That works if foo.sh has "#! /usr/bin/env perl -" (or the > not-made-up > > equivalent), which is very much highly recommended. > > Thanks for helpful supplementation. But why perl for foo.sh? :) > > > -- Gotoken >