Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 6 Oct 2003 11:15:34 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Henry S. Thompson" cc: cygwin AT cygwin DOT com Subject: Re: 1.5.4-1: Problem with XEmacs, fonts, and subprocesses. In-Reply-To: Message-ID: References: <3F7F1883 DOT 4070809 AT urth DOT org> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 6 Oct 2003, Henry S. Thompson wrote: > Igor Pechtchanski writes: > > > > >> If you're _really_ obsessive (like me :-( about launching from an > >> icon, compile the following and point the icon at it. > >> > >> Hope this helps, > >> ht > >> [code snipped] > >> if (CreateProcess (NULL, "c:\\cygwin\\bin\\bash -c \"/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start\"", &sec_attrs, NULL, TRUE, 0, > >> NULL, NULL, &start, &child)) > > > > Ouch! Why not simply point the shortcut at 'c:\cygwin\bin\bash --login -c > > "/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start"'? > > Igor > > Because that produces an unsightly command window as well as the > desired xemacs window. That's what all the WinMain etc. stuff is > there to defeat. > > ht Umm, yeah, ok, make that 'c:\cygwin\usr\X11R6\bin\run.exe /bin/bash --login -c "/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start"', then. :-D Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/