Calling a program without bash login

Travis Whitton whitton@atlantic.net
Mon Jan 13 03:30:00 GMT 2003


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 as simple as:

C:\cygwin\bin\bash /usr/local/bin/ruby /home/travis/myprog.rb

but obviously that doesn't work. So, can anybody clue me in as to how to
accomplish this seemingly simple task? I sure would appreciate it!

Thanks in advance,
Travis Whitton <whitton@atlantic.net>



More information about the Cygwin mailing list