delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/13/09:49:10

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-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: "Yadin Y. Goldschmidt" <yadin AT pitt DOT edu>
Subject: Re: bash script ->exe
Date: Thu, 13 Mar 2003 09:48:50 -0500
Lines: 31
Message-ID: <b4q5n5$j83$1@main.gmane.org>
References: <b4q4lo$e77$1 AT main DOT gmane DOT org> <019f01c2e96e$8b5f53f0$57f186d9 AT webdev>
X-Complaints-To: usenet AT main DOT gmane DOT org
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

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 AT exposure DOT org DOT uk> wrote in message
news:019f01c2e96e$8b5f53f0$57f186d9 AT 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 AT exposure DOT org DOT 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/

- Raw text -


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