[Wine] Redirecting output from Linux-binaries called by wine

Gert van den Berg wine-users at mohag.net
Fri Aug 28 16:13:46 CDT 2009


On Fri, Aug 28, 2009 at 21:35, Hagen
Fuchs<hagen.fuchs at physik.tu-dresden.de> wrote:
> Hi,
>
>> Correct, learning bash will get you a long way, especially if you're
>> mixing in UNIX/Linux commands.
>
> In way of defense, I have to admit, I'm quite comfortable with shell
> scripting.  However, as I have tried to outline (perhaps ambiguously), I
> cannot rely on advanced UNIX tools, as the redirection has to happen on
> the Win32/Wine-level.
>
> After a few more hours' worth of experimenting - a tad more than I had
> planned on spending - I'm now fairly certain that this kind of
> redirection is not possible at all.  Or is it? :)
>
If you don't need wineconsole, this seem to work:
mohag at mohagpc:~$ wine cmd
CMD Version 1.1.28

Z:\home\mohag>/bin/echo test
Z:\home\mohag>test

Z:\home\mohag>/bin/echo test > NUL
Z:\home\mohag>



More information about the wine-users mailing list