Mail Archives: cygwin/2003/10/07/18:01:44
On Tue, 7 Oct 2003, Henry S. Thompson wrote:
> Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> writes:
>
> > On Mon, 6 Oct 2003, Henry S. Thompson wrote:
> >
> >> Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> 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
>
> Ah, but I don't run X, just vanilla cygwin.
>
> See you and raise you again :-)
> ht
Hmm. I was going to point you to
<http://www.neuro.gatech.edu/users/cwilson/cygutils/run/>, but it seems
the page is temporarily unavailable. You can still take a look at the
Google cache version at <http://google.com/search?q=cache:www.neuro.gatech.edu/users/cwilson/cygutils/run/>
or the one in the Internet Archive at
<http://web.archive.org/web/20030219090138/http://www.neuro.gatech.edu/users/cwilson/cygutils/run/>,
though.
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/
- Raw text -