[Bug 52786] New: "wine cmd.exe /c [any command which outputs text]" returns zero length text
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Apr 8 07:44:34 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=52786
Bug ID: 52786
Summary: "wine cmd.exe /c [any command which outputs text]"
returns zero length text
Product: Wine
Version: 7.5
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs at winehq.org
Reporter: bill2allison at yahoo.co.uk
Distribution: ---
Works correctly only when executed from a terminal (xterm etc)
Fails when wine is invoked (directly or by another program such as winetricks)
from desktop menu or launcher or a .desktop file.
MY ENVIRONMENT
--------------
OpenSUSE Tumbleweed
KDE/Plasma
Wine 7.5
TO REPRODUCE
------------
1) From the desktop launcher run
wine cmd.exe /c echo 'hello' > ~/test.txt
Each time it is run, the test.txt timestamp is updated but the file remains
empty
2) From the desktop launcher run
winetricks --gui
Displays info then error message 'wine cmd.exe /c echo '%AppData%' returned
empty string, error message "" '
3) Issue test 1 above in xterm or similar then test.txt contains "hello"
4) Issue test 2 above in xterm or similar then winetricks starts and runs
normally
WORKAROUND
----------
Include terminal=true in affected .desktop files and menu configs or start
those programs from within a terminal
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list