Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs
Date: Thu, 13 Mar 2003 16:04:09 +0100 (CET)
From: Ronald Landheer-Cieslak <ronald@landheer.com>
X-X-Sender: ronald@localhost.localdomain
To: "Yadin Y. Goldschmidt" <yadin@pitt.edu>
cc: cygwin@cygwin.com
Subject: Re: bash script ->exe
In-Reply-To: <b4q5n5$j83$1@main.gmane.org>
Message-ID: <Pine.LNX.4.44.0303131603440.13904-100000@localhost.localdomain>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

In that case, why not write a simple C program that simply does a system()?

rlc

On Thu, 13 Mar 2003, Yadin Y. Goldschmidt wrote:

> Well, the need really originates from making a program called xmaxima
> interface with a script maxima. xmaxima is a tcl program that is looking for
> a maxima.exe but in clisp maxima there is only a maxima sh script that
> xmaxima cannot evoke. I tried to make a .bat file that calls the bash script
> but it does not work.
> "Elfyn McBratney" <elfyn-cygwin@exposure.org.uk> wrote in message
> news:019f01c2e96e$8b5f53f0$57f186d9@webdev...
> > > Is there a way to convert a bash (or sh or csh ) script into an windows
> > .exe
> > > file so it can be executed by a windows program or by clicking on it in
> > > explorer?
> >
> > This isn't necessary if all you want is to be able to run the shell script
> > from your desktop. You just need to create a shortcut that targets
> >
> >   X:\Cygwin\bin\{bash,csh,sh}.exe -c /posix/path/to/script
> >
> > You may also wish to add some extra arguments to the shell for extra
> > functionality.
> >
> >
> > Regards,
> >
> > Elfyn McBratney
> > elfyn@exposure.org.uk
> > www.exposure.org.uk
> >
> >
> >
> 
> 
> 
> 
> --
> 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/
> 


--
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/

