Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Subject: RE: [ITP] run.exe was Re: Running ssh in background [solution/patch]
Date: Wed, 26 Oct 2005 13:18:28 +0200
Message-ID: <F0D7281DAB048B438E8F5EC4ECEFBDDC9961C2@esmail.elsag.de>
From: =?iso-8859-1?Q?J=F6rg_Schaible?= <Joerg.Schaible@Elsag-Solutions.com>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j9QBIbhS004543

Hi Alexander,

Alexander Gottwald wrote on Wednesday, October 26, 2005 1:08 PM:

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

thank you. Your version works fine with the plain ssh.exe and is much appreciated.

- Jörg

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


