On Mon, 6 Oct 2003, Henry S. Thompson wrote: > Igor Pechtchanski <[EMAIL PROTECTED]> writes: > > <snip/> > > >> 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/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,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/