curl-users
RE: patch to print version info on stderr
Date: Tue, 16 Sep 2003 17:22:05 -0700
It's not hard to re-direct, even in Windows land.
http://support.microsoft.com/default.aspx?scid=kb;en-us;190351
This redirects using a pipe (so the parent can interact with the child as it
runs). Redirecting using a file handle would be even easier...
Michael H.
-----Original Message-----
From: curl-users-admin_at_lists.sourceforge.net
[mailto:curl-users-admin_at_lists.sourceforge.net] On Behalf Of David Byron
Sent: September 16, 2003 1:20 PM
To: 'curl-users_at_lists.sourceforge.net'
Subject: RE: patch to print version info on stderr
On Tue Sep 16 @ 12:26P, Kevin Roth wrote:
> Out of curiosity, what's the problem with running:
>
> $ curl --version > foo
I'm actually spawning curl from within the program I'm writing and I'm
trying to avoid having to write the equivalent of > (or really | in the
end). It seems like a non-trivial hunk of code here in Windows land. The
patch seemed sensible, and a whole lot easier.
-DB
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-17