[Bug 18154] New: cmd.exe: failure to handle file extension association
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Apr 22 18:54:31 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=18154
Summary: cmd.exe: failure to handle file extension association
Product: Wine
Version: 1.1.19
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P4
Component: programs
AssignedTo: wine-bugs at winehq.org
ReportedBy: swelef at post.sk
cmd.exe doesn't handle extension association.
Test case:
Install ActivePerl, create a dummy perl script test.pl and run
wine cmd /c test.pl
cmd.exe will try to run test.pl as Unix binary
trace:process:CreateProcessW starting L"C:\\\\test.pl" as Unix binary
and (probably) fail instead of running Perl.exe as the Windows XP command
cmd /c perl.pl
Source code analysis:
The function programs/cmd/wcmdmain.c:WCMD_run_program calls FindExecutable
but mostly ignores the result. This looks like an unfinished work.
Remark:
Theoretically, some program could rely on the association. As long as such
program is not known, this is a low priority issue. Users should prefer
the explicit command
wine perl test.pl
(or "wine start /W test.pl" if they want a new console).
--
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.
More information about the wine-bugs
mailing list