This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
RE: Executing a BASH script from a start menu shortcut
- To: "'Levon Saldamli'" <levon@lysator.liu.se>, "'GNU-WIN32'" <gnu-win32@cygnus.com>
- Subject: RE: Executing a BASH script from a start menu shortcut
- From: Bernard Dautrevaux <DAUTREVAUX@microprocess.com>
- Date: Wed, 10 Feb 1999 11:05:37 +0100
- Cc: campbell@calgary.paradigmgeo.com
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-owner@sourceware.cygnus.com
> -----Original Message-----
> From: Levon Saldamli [mailto:levon@lysator.liu.se]
> Sent: Wednesday, February 10, 1999 7:42 AM
> To: 'GNU-WIN32'
> Cc: campbell@calgary.paradigmgeo.com
> Subject: Re: Executing a BASH script from a start menu shortcut
>
>
> Robert Campbell <campbell@calgary.paradigmgeo.com> writes:
>
> > Does anybody know how to create an icon on the desktop (or
> from the start
> > menu) that will execute a bash script without starting a dos prompt.
> >
> > I have cygwin setup to start my X server by executing
> 'startx' from any bash
> > shell, and I would like to know how I can create an icon on
> my desktop to do
> > this, without bringing up a command prompt window.
> >
> > I would like the script to do something like this:
> >
> > #!/bin/bash --login
> > startx
I have the same kind of problem but do not have time to investigate it
yet :-(
>
> I think you could call bash with your script as argument,
> something like:
>
> path_to_bash/bash.exe myscript
This should work but in no case will get us rid of the annoying
"console" window 8-(
>
> If it needs the env-variables you could copy the cygnus.bat, and
> change it to call bash with your script as argument instead.
This too will create a "console" window. My poblem, and Robert's one if
I understand it correctly, was to get rid of it...
Thanks anyway,
Bernard,
--------------------------------------------
Bernard Dautrevaux
Microprocess Ingéniérie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel: +33 (0) 1 47 68 80 80
Fax: +33 (0) 1 47 88 97 85
e-mail: dautrevaux@microprocess.com
b.dautrevaux@usa.net
--------------------------------------------
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com