[Bug 56112] New: Feature request: let wine first cd to the directory with the .exe when a full path to a .exe is specified
https://bugs.winehq.org/show_bug.cgi?id=56112 Bug ID: 56112 Summary: Feature request: let wine first cd to the directory with the .exe when a full path to a .exe is specified Product: Wine Version: 9.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: cedric.dewijs(a)eclipso.eu Distribution: --- Running programs in this way is unsupported: $ wine ~/path/to/appname.exe The user must first cd into the directory of the program and then run the program: $ cd ~/path/to/ && wine appname.exe It would be nice if wine would itself cd into the correct directory when a full path is detected, so users don't have to bother with first going into the correct directory. See this bug for more discussion on the subject: https://bugs.winehq.org/show_bug.cgi?id=56088 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56112 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Not sure this would be a sensible default, Windows behaves the exact same regarding working directory. How exactly would you want this to work? Opt-in or opt-out? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56112 --- Comment #2 from Cedric <cedric.dewijs(a)eclipso.eu> --- Avoiding the question of opt-in or opt-out, maybe it's a good first step to print a warning if a user starts a program with the full path like this: wine ~/path/to/appname.exe "Starting programs with their full path is unsupported. If the program fails, first cd to ~/path/to and then run wine appname.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.
https://bugs.winehq.org/show_bug.cgi?id=56112 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED --- Comment #3 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- (In reply to Cedric from comment #2)
Avoiding the question of opt-in or opt-out, maybe it's a good first step to print a warning if a user starts a program with the full path like this:
wine ~/path/to/appname.exe
"Starting programs with their full path is unsupported. If the program fails, first cd to ~/path/to and then run wine appname.exe"
Starting a program using full path is perfectly supported and works as intended. As Fabian mentioned Windows behaviour is exactly the same regarding current working directory. It's the user's responsibility to actually understand the consequences. Wine User's Guide even has an answer to this question: https://wiki.winehq.org/Wine_User%27s_Guide#How_to_run_Windows_programs_from... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56112 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick(a)piezo-forte.be --- Comment #4 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- Hello, It actually depends on how the application interact with the filesystem, and the user has to find out by trial and error, preferably starting with the recommended way (as it's what work most of the time). Regards. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56112 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Austin English <austinenglish(a)gmail.com> --- Closing. -- 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.
participants (1)
-
WineHQ Bugzilla