delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Fri, 10 Jan 2003 14:40:16 -0500 |
From: | Travis Whitton <whitton AT atlantic DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Calling a program without bash login |
Message-ID: | <20030110194016.GA23824@grub.ath.cx> |
Reply-To: | Travis Whitton <whitton AT atlantic DOT net> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.28i |
X-Grub-Uptime: | 14:31:25 up 9 days, 19:00, 3 users, load average: 1.07, 1.02, 1.00 |
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 AT atlantic DOT net> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |