[Bug 49593] New: inconsistent return code when executable is not found
WineHQ Bugzilla
wine-bugs at winehq.org
Mon Jul 20 07:30:03 CDT 2020
https://bugs.winehq.org/show_bug.cgi?id=49593
Bug ID: 49593
Summary: inconsistent return code when executable is not found
Product: Wine
Version: 5.13
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: xantares09 at hotmail.com
Distribution: ---
When wine is launched to run an inexistent executable file,
the exit code is different according to the path name being passed
as absolute or relative:
- relative, return code 53:
$ wine zz.exe
0024:err:module:__wine_process_init L"C:\\windows\\system32\\zz.exe" not found
$ echo $?
53
- absolute, return code 0:
$ wine /tmp/zz.exe
wine: cannot find L"/tmp/zz.exe"
$ echo $?
0
I expected the return code to be also 53 when the file is passed as absolute
--
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