Angelo Graziosi ha scritto:
Phil Betts wrote:
I think Angelo was trying to avoid having an unnecessary bash process
hanging around.

Indeed! (I think...)

I have various links on desktop (to start Emacs, mrxvt, xfig, etc.) like this:

C:\cygwin-2\bin\run.exe bash -l -c 'rm -rf /tmp/.X11-unix; XWin -multiwindow -clipboard -silent-dup-error &'

and 'experimentally' adding '&' reduces the number of processes, as shown by task manager...

so why
not do it like this instead:

%RUN% bash -l -c "exec XWin -multiwindow -clipboard -silent-dup-error"

interesting... I will give it a try. But, in any case, it would be useful to know what Cygwin guys think.

Using 'exec', task manager shows always one more process: bash...


Cheers,
Angelo.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Reply via email to