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

Hagen Fuchs hagen.fuchs at physik.tu-dresden.de
Wed Aug 26 16:56:04 CDT 2009


Dear wine-users,

Surely this matter is not too complicated?  Why, I had hoped this rather
fundamental question would be a welcome diversion from the neverending
torrent of queries along the lines of "Help! App xy not working! My
favourite game crashes!".  I would gladly RTFM, if only I knew which.

> What I would like to do is something like the following.
> 
> Create a batch file that calls a Unix-command (in this case `ssh`) and
> redirects output to a file.  Consider, for example, the following lines
> in a file called 'ssh.bat':
> 
>     /usr/bin/ssh %* pwd > wine.out
> 
> Now running
> 
>     wineconsole ssh.bat user at host > linux.out
> 
> [...]

Regards,
  Hagen




More information about the wine-users mailing list