[Bug 10719] New: Default Directory should be the directory witch the exe was excuted
http://bugs.winehq.org/show_bug.cgi?id=10719 Summary: Default Directory should be the directory witch the exe was excuted Product: Wine Version: 0.9.47. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-binary AssignedTo: wine-bugs(a)winehq.org ReportedBy: yellow_onion(a)orcon.net.nz By Defualt windows excutes exes in their directory. if wine did this it would solve alot of problems. as most progam are executed this way in window they assume all the files they need are in same dir for a work around i useually create a script to change dir but this shouldn't be needed. but lanuching in different dir would have to be done another way -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 Stefan Dösinger <stefandoesinger(a)gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger(a)gmx.at Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-12-08 08:20:14 --- No, windows doesn't do that. If you double-click on a .exe in explorer. it is executed from that directory, because you navigated there first. If you run foo.exe from the command line prompt you cded there as well. But try to run ..\..\somedir\foo.exe, then foo.exe is *NOT* run in somedir. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2007-12-08 11:50:33 --- Closing invalid. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 yellow_onion(a)orcon.net.nz changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID | Version|0.9.47. |0.9.50. --- Comment #3 from yellow_onion(a)orcon.net.nz 2007-12-13 19:45:04 --- ok so its only in explorer but still a problem when trying to run from nautilus (not sure if its a problem in any other file browsers probably is since all linux apps dont run from there own directory and that you never exec linux apps from nautilus) as it runs from / i like to use nautilus alot for windows apps perhaps a system that figures out what directory it was in when executed from a file browser -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 James Hawkins <truiken(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #4 from James Hawkins <truiken(a)gmail.com> 2007-12-13 19:51:50 --- You need to read why this bug has been closed as invalid. Wine performs *exactly* the same way concerning current directories as Windows. This will not be changed, as any such change would be incorrect. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 James Hawkins <truiken(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from James Hawkins <truiken(a)gmail.com> 2007-12-13 19:52:16 --- Closing invalid again. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 --- Comment #6 from yellow_onion(a)orcon.net.nz 2007-12-13 23:24:35 --- (In reply to comment #4)
You need to read why this bug has been closed as invalid. Wine performs *exactly* the same way concerning current directories as Windows. This will not be changed, as any such change would be incorrect.
I did read and launching apps from nautilus [just reports missing file errors] dosen't work as explorer and no linux user should not have to work from wine-explorer to get this to work. its terribly annoying and if none of you can see that try it yourself Steam [ and starwars pod racer are good examples] -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 --- Comment #7 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-12-14 03:38:20 --- You'll have to fix how Nautilus calls wine then. Maybe the mimetype declaration allows you to set a flag where to start the app. Konqueror runs Steam just fine, fwiw. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 --- Comment #8 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-12-14 03:40:55 --- Actually, I take the konqueror argument back, Steam fails there as well; It just updates fine initially, then fails. Still it is a problem how Wine is called, not how Wine deals with the path. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 --- Comment #9 from yellow_onion(a)orcon.net.nz 2007-12-14 04:17:13 --- i made a nautilus script but you can't by default launch nautilus scripts nor use it as a normal script i was thinking of a wrapper that finds the path from the file manager and executes the wine app there it would be better than submiting a bug to every file manger about how to handle a specific mime type -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 --- Comment #10 from Austin English <austinenglish(a)gmail.com> 2007-12-14 15:30:47 --- File a bug with Nautilus for this. Wine provides winepath (http://wiki.winehq.org/winepath), which can convert between unix and windows file paths. Wine provides the correct windows implementation, which is what wine is intended to do. This is something that the file manager needs to implement. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 --- Comment #11 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2007-12-14 15:57:28 --- IMHO Wine should have some sort of wrapper script to be used by Linux native programs to call it via XDG type mechanism. This is more related to distros' integrators then Wine itself. So if anyone wants to send such a script with appropriate changes to Makefile and "wine.desktop". -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 --- Comment #12 from yellow_onion(a)orcon.net.nz 2007-12-15 09:50:39 --- #! /bin/sh # Launch Wine app in its own directory # switches are not passed as of yet # path="`expr "$@" : '\(.*\)/'`" basename="`expr "//$@" : '.*/\([^/]*\)'`" cd "$path" wine $basename -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 --- Comment #13 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2007-12-15 10:57:05 --- No, you have to use 'winepath' program to convert paths. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10719 James Hawkins <truiken(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|_obsolete_binary |-unknown -- 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.
participants (1)
-
wine-bugs@winehq.org