[Bug 10192] New: wcmd: command piping broken
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Oct 27 07:26:01 CDT 2007
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 at winehq.org
ReportedBy: mpartap at 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.
More information about the wine-bugs
mailing list