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

Re: svnversion does not output to stdout

From: BladeOfLight16 <bladeoflight16_at_gmail.com>
Date: Fri, 6 Sep 2013 20:25:47 -0400

On Thu, Sep 5, 2013 at 4:51 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:

> Also: you can test that it outputs to stdout much easier on a normal
> console:
> $ "C:\Program Files\TortoiseSVN\bin\svnversion.exe" C:\svn\tortoisesvn >
> output.txt
> and then you can see that output.txt contains the information.

You can actually do a much simpler test in PowerShell, as well.

& 'C:\Program Files\TortoiseSVN\bin\svnversion.exe' C:/svn/tortoisesvn |

The pipe redirects the output to the Write-Host commandlet (which is
basically what echo is in bash, for those unfamiliar with PowerShell). That
works fine for me, as well. Not sure why you would need to try to work with
a process object and manually pull stuff off the streams.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-07 02:26:57 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.