This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.5.4-1: Problem with XEmacs, fonts, and subprocesses.
On Mon, 6 Oct 2003, Henry S. Thompson wrote:
> Igor Pechtchanski <email@example.com> 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.
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.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.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