delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/28/10:10:54

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
X-Authentication-Warning: localhost.localdomain: ronald set sender to blytkerchan AT users DOT sourceforge DOT net using -f
Date: Fri, 28 Nov 2003 17:46:23 +0100
From: Ronald Landheer-Cieslak <blytkerchan AT users DOT sourceforge DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Running a script from Bash
Message-ID: <20031128164623.GA14997@linux_rln.harvest>
References: <26220CFFE5E5D4119AC500508B60D4420D763A86 AT ecvancouver DOT pyr DOT ec DOT gc DOT ca>
Mime-Version: 1.0
In-Reply-To: <26220CFFE5E5D4119AC500508B60D4420D763A86@ecvancouver.pyr.ec.gc.ca>
User-Agent: Mutt/1.4i
X-Disclaimer: I had nothing to do with it - I swear!
X-loop: linux_rln.harvest

You run a script by running its interpreter (at least if its outside the
wonderful world of Cygwin). What you need in your environment variables
depends on what you need to run the script and what its interpreter expects
of its environment. Read the documentation of the interpreter and the script
itself to find out what you need - there's no information anywhere in your
mail that gives me a clue about a more precise answer..

rlc

On Thu, Nov 27, 2003 at 11:24:28AM -0800, Ashman,Tim [PYR] wrote:
> In my first posting today, I was using an Octave script in explaining my
> problem of how to run an external script from Cygwin in general. Putting
> Octave aside for a moment, what do I need to do (PATH setting, script
> header, etc) to run any external script from a bash script? Basically, I
> would like a bash script located at C:/cygwin/bin to call a script in a
> different language that is located somewhere else on my computer. Sorry
> about the confusion, thanks again for your help...

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019