Problem redirecting output stream of wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ranamar
Newbie
Newbie
Posts: 1
Joined: Fri Mar 28, 2008 2:31 pm

Problem redirecting output stream of wine

Post by ranamar »

Hi all,
I'm using an Ubuntu 7.10 and the latest (?) version of Wine ( 0.9.58 ).
I'm running a windows application that seems to work properly, but i cannot manage to redirect the output to a file:

$ wine cmd.exe
Usage : cmd.exe [filename1] [filename2] ...

$ wine cmd.exe > /dev/null
Usage : cmd.exe [filename1] [filename2] ...

$ wine cmd.exe 2> /dev/null
Usage : cmd.exe [filename1] [filename2] ...

I've already tried to use wineconsole, but I get the same behavior and using wineconsole --backend=curses I get the following error:
fixme:curses:WCCURSES_GetEvents Ooch. somebody beat us

Any idea?

Thanks in advance.
Dan Kegel

Problem redirecting output stream of wine

Post by Dan Kegel »

On Fri, Mar 28, 2008 at 12:33 PM, ranamar <[email protected]> wrote:
I'm using an Ubuntu 7.10 and the latest (?) version of Wine ( 0.9.58 ).
I'm running a windows application that seems to work properly, but i cannot manage to redirect the output to a file:

$ wine cmd.exe
Usage : cmd.exe [filename1] [filename2] ...
Not sure you really have the latest wine?

When I tried it, it worked fine:

$ wine-git/wine cmd.exe /c aslkdf
File not found

$ wine-git/wine cmd.exe /c aslkdf > log 2>&1

$ cat log
File not found
Locked