delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/26/07:08:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 26 Oct 2005 13:08:20 +0200 (MEST)
From: Alexander Gottwald <alexander DOT gottwald AT s1999 DOT tu-chemnitz DOT de>
To: cygwin AT cygwin DOT com
Subject: [ITP] run.exe was Re: Running ssh in background [solution/patch]
In-Reply-To: <435F56CB.4EBEB22C@dessent.net>
Message-ID: <Pine.LNX.4.58.0510261302020.23497@odoaker.hrz.tu-chemnitz.de>
References: <F0D7281DAB048B438E8F5EC4ECEFBDDC506E11 AT esmail DOT elsag DOT de> <435F56CB DOT 4EBEB22C AT dessent DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes

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 DOT Gottwald AT s1999 DOT tu-chemnitz DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019