Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Thu, 30 Jun 2005 01:50:12 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Jason Pyeron cc: cygwin AT cygwin DOT com Subject: Re: ssh -nN or console less cygwin apps? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 30 Jun 2005, Jason Pyeron wrote: > ssh domain.com -L 5901:localhost:5900 -nN > > man ssh reports > > -N Do not execute a remote command. > -n Redirects stdin from /dev/null > > but I will still get a console window open, but what if you dont want it? > (also with xemacs) > > how can a cygwin app be run without a console window opening? c:\cygwin\usr\X11R6\bin\run.exe ssh domain.com -L 5901:localhost:5900 -nN or c:\cygwin\bin\setsid.exe ssh domain.com -L 5901:localhost:5900 -nN should both work. HTH, 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! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/