http://bugs.winehq.org/show_bug.cgi?id=10192
Summary: wcmd: command piping broken
Product: Wine
Version: 0.9.48.
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: wine-console
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mpartap(a)gmx.net
Hi there,
still trying to get KDE4/win32 compiled under WINE... the python glitches went
away by creating a fresh .wine directory, however another problem came up:
piping is broken in wineconsole. F.e., dir | more results in this:
C:\kderoot\emerge\bin>dir | more
trace:cmd:WCMD_DumpCommands Parsed line:
trace:cmd:WCMD_DumpCommands L"0012F6E8 N 00 00000000 dir more Redir:"
trace:cmd:WCMD_process_commands Executing command: 'L"dir more"'
trace:cmd:WCMD_execute command on entry:L"dir more" (0x33f5d0), with
'(null)'='(null)'
trace:cmd:WCMD_execute Command: 'L"dir more"'
trace:cmd:WCMD_execute param1: L"more", param2: L""
trace:cmd:WCMD_directory Found parm 'L"more"'
trace:cmd:WCMD_directory Using location 'L"C:\\kderoot\\emerge\\bin\\more"'
trace:cmd:WCMD_directory Using path 'L"C:\\kderoot\\emerge\\bin\\more"'
trace:cmd:WCMD_directory Path Parts: drive: 'L"C:"' dir:
'L"\\kderoot\\emerge\\bin\\"' name: 'L"more"' ext:'L""'
trace:cmd:WCMD_directory Writing volume for 'C:'
Volume in drive C is
Volume Serial Number is 0000-0000
trace:cmd:WCMD_list_directory Looking for matches to
'L"C:\\kderoot\\emerge\\bin\\more"'
Directory of C:\kderoot\emerge\bin
File not found
trace:cmd:WCMD_dir_trailer Writing trailer for 'L"C:\\"' gave 1(87)
C:\kderoot\emerge\bin>
so obviously, the '|' is lost somewhere and 'dir more' is what gets executed...
output redirection into a file with '>' works as expected. I had a look at
wcmdmain.c but I could only narrow down the problem to be somewhere within
WCMD_ReadAndParseLine and WCMD_pipe so any further investigation would be
appreciated.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9531
Summary: cmd's for command can't handle /L option
Product: Wine
Version: CVS/GIT
Platform: Other
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P2
Component: wine-programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
I ran into the following construct in a real-world cmd file today:
:: Short delay so this script can [xxxx]
:: Without this delay the script will return too quickly...
for /L %%i in (1,1,999) do set>NUL
Wine's cmd thinks this is a syntax error.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9530
Summary: cmd's for command can't handle /f option
Product: Wine
Version: CVS/GIT
Platform: Other
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P2
Component: wine-programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
I ran into the follow cmd construct today in a real world script:
for /f %%X in ('foo.exe') do set %%X
The /f ... ('command') option is described here
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en…
and it means "run the command in single quotes, then loop over
each word of the output".
(The real script was trying to set environment variables
whose name and value were from stdout of foo.exe.)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9142
Dan Kegel <dank(a)kegel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|programs |cmd
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
http://bugs.winehq.org/show_bug.cgi?id=8346
Dan Kegel <dank(a)kegel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|programs |cmd
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
http://bugs.winehq.org/show_bug.cgi?id=8230
Dan Kegel <dank(a)kegel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|programs |cmd
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
http://bugs.winehq.org/show_bug.cgi?id=8020
Dan Kegel <dank(a)kegel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|programs |cmd
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
http://bugs.winehq.org/show_bug.cgi?id=6286
Dan Kegel <dank(a)kegel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|programs |cmd
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
http://bugs.winehq.org/show_bug.cgi?id=5761
Dan Kegel <dank(a)kegel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|programs |cmd
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.
http://bugs.winehq.org/show_bug.cgi?id=5608
Dan Kegel <dank(a)kegel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|programs |cmd
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.