Mail Archives: cygwin/1999/02/10/10:09:07
> -----Original Message-----
> From: Levon Saldamli [mailto:levon AT lysator DOT liu DOT se]
> Sent: Wednesday, February 10, 1999 7:42 AM
> To: 'GNU-WIN32'
> Cc: campbell AT calgary DOT paradigmgeo DOT com
> Subject: Re: Executing a BASH script from a start menu shortcut
>=20
>=20
> Robert Campbell <campbell AT calgary DOT paradigmgeo DOT com> writes:
>=20
> > Does anybody know how to create an icon on the desktop (or=20
> from the start
> > menu) that will execute a bash script without starting a dos =
prompt.
> > =A0
> > I have cygwin setup to start my X server by executing=20
> 'startx' from any bash
> > shell, and I would like to know how I can create an icon on=20
> my desktop to do
> > this, without bringing up a command prompt window.
> > =A0
> > I would like the script to do something like this:
> > =A0
> > #!/bin/bash --login
> > startx
I have the same kind of problem but do not have time to investigate it
yet :-(
>=20
> I think you could call bash with your script as argument,=20
> something like:
>=20
> path_to_bash/bash.exe myscript
This should work but in no case will get us rid of the annoying
"console" window 8-(
>=20
> 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=E9ni=E9rie
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 AT microprocess DOT com
b DOT dautrevaux AT usa DOT net
--------------------------------------------=20
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -