This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ITP] run.exe was Re: Running ssh in background [solution/patch]


On Wed, 26 Oct 2005, Brian Dessent wrote:

> You might make more traction by suitably patching the 'run' utility so
> that it also supports pipes.  Then you could use 'run' to launch the
> standard /bin/ssh without the console window.

done.
check http://www.freedesktop.org/~ago/run.exe
It is based on the version from X-startup-scripts-1.0.10-4 with the following
change to run/run.c

<   start.dwFlags = STARTF_USESHOWWINDOW;
>   start.dwFlags = STARTF_USESHOWWINDOW | STARTF_USESTDHANDLES;
    start.wShowWindow = SW_HIDE;
>   start.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
>   start.hStdOutput = GetStdHandle(STD_OUTPUT_HANDLE);
>   start.hStdError = GetStdHandle(STD_ERROR_HANDLE);

[ITP] I think I'll split run.exe from the X-startup-scripts package and create 
a new one which i'll continue to maintain.  

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]