Re: Calling a program without bash login

2003-01-10 Thread Igor Pechtchanski
On Fri, 10 Jan 2003, Travis Whitton wrote: > Hello, > I have written a rather extensive program using the cygwin build of > ruby. Ruby is installed in cygwin inside of /usr/local/bin. I'm trying > to find a way to create a script to invoke my program without it's users > having to go into a cygwin

Re: Calling a program without bash login

2003-01-10 Thread Randall R Schulz
Travis, You're not giving us much to go on, but here's a better attempt: C:\cygwin\bin\bash -c "exec /usr/local/bin/ruby /home/travis/myprog.rb" However, I don't see why you're involving BASH or any shell at all. If the Ruby interpreter is invoked from a context in which there is no character-

Calling a program without bash login

2003-01-10 Thread Travis Whitton
Hello, I have written a rather extensive program using the cygwin build of ruby. Ruby is installed in cygwin inside of /usr/local/bin. I'm trying to find a way to create a script to invoke my program without it's users having to go into a cygwin bash shell and run it. Ideally, it would be something