Re: How to have PuTTY go in background only?

From: Simon Tatham (anakin@pobox.com)
Date: 02/14/02


From: Simon Tatham <anakin@pobox.com>
Date: 14 Feb 2002 09:16:54 +0000 (GMT)

Scott W Reeve <swr@TheWorld.com> wrote:
> I use plink with all of the options (user, password, port
> forwarding info, etc) and it works fine, but, like I said,
> it always brings up the window.

Plink doesn't do anything to explicitly bring up a console window.
Therefore, it seems likely that it would only do so if it needed to
_use_ that window somehow.

The most plausible explanation is that you haven't redirected
Plink's input or output - so it opens the console in order to have
somewhere to send its I/O to. Have you tried redirecting its input
and output handles to somewhere less prominent, such as pipes or the
null device?

-- 
Simon Tatham         "That all men should be brothers is a
<anakin@pobox.com>    dream of people who have no brothers."



Relevant Pages

  • Re: system commands
    ... Redirect the output to a pipe, then the console window ... Redirecting itself doesn't guarantee you absence of console ... Usually I/O ...
    (microsoft.public.vc.language)
  • Re: terminal settings with plink
    ... Plink aims to be strictly a command-line ... > DOS-box with clean terminal screens. ... just command-line-based) client that runs in a DOS-box? ... if the 'terminal' is a DOS window which supports the ANSI ...
    (comp.security.ssh)
  • Re: How to have PuTTY go in background only?
    ... I am using plink (I meant putty ... I use plink with all of the options (user, password, port ... forwarding info, etc) and it works fine, but, like I said, ... extra window is simply not necessary to the application. ...
    (comp.security.ssh)
  • Re: redicting standard output
    ... I did some work with plink and redirecting its input/output. ... I intercepted its "please enter your password" prompt). ...
    (microsoft.public.dotnet.languages.csharp)