Mail Archives: cygwin/2005/06/30/01:50:49
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/
- Raw text -