[Bug 50345] New: `wine` always loads executable from $WINEPREFIX/windows instead of given path if filenames match
WineHQ Bugzilla
wine-bugs at winehq.org
Thu Dec 17 06:24:59 CST 2020
https://bugs.winehq.org/show_bug.cgi?id=50345
Bug ID: 50345
Summary: `wine` always loads executable from
$WINEPREFIX/windows instead of given path if filenames
match
Product: Wine
Version: 5.22
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wineserver
Assignee: wine-bugs at winehq.org
Reporter: lunarlambda at gmail.com
Distribution: ---
I was working on a modification to Wine Notepad, and ran into the following
oddity when trying to test my changes:
`wine ./notepad.exe` does not run the correct executable. Instead of the newly
built executable in the current directory, it ran
`$WINEPREFIX/windows/notepad.exe` instead.
Even when specifying the absolute path, `$PWD/notepad.exe`, it still ran the
wrong one.
The only way to run the correct executable was to rename it.
Furthermore, I observed the following:
$ wine ./notepad.exe
<wrong notepad opens>
$ rm ./notepad.exe
$ wine ./notepad.exe
wine: cannot find L"./notepad.exe"
$
--
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