Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <8135911A809AD211AF6300A02480D175034902@IIS000.microdata.fr> From: Bernard Dautrevaux To: "'Levon Saldamli'" , "'GNU-WIN32'" Cc: campbell AT calgary DOT paradigmgeo DOT com Subject: RE: Executing a BASH script from a start menu shortcut Date: Wed, 10 Feb 1999 11:05:37 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > -----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 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