[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] [bug] unable to connect with wathever plink used

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-09-16 07:36:19 CEST

On 9/15/05, Valik <vampire.valik.ml@gmail.com> wrote:
> Every time you say that I wonder: Why don't you just capture the output
> by replacing the stdout/stderr handles? If Plink is a CUI application
> then you should be able to change a DWORD in the PE header
> (IMAGE_NT_HEADERS::OptionalHeader.Subsystem) to make it a GUI
> application (Prevents the console from appearing but everything else
> seems to work okay, YMMV, though as I've not thoroughly tested this
> concept). Then just replace the stdout/stderr handles when you call
> CreateProcess() and you get the best of both world's without having to
> maintain anything.

And every time I explain why I don't do some things, I wonder why
people keep telling me how I could do it anyway.
I *know* how I could make TPlink show error messages, I know all the
possible ways to do it. But as I explained: I don't want to!
(and btw: changing a byte in the PE header is one of the worst ways to
change a program, at least if you have the source to compile it


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Sep 16 07:38:24 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.