http://bugs.winehq.org/show_bug.cgi?id=5224
--- Comment #17 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-01-04 07:58:57 --- (In reply to comment #16)
Perhaps we should have winefile replicate the behavior of explorer?
That was my first thought too, but this could probably do with some discussion.
When I first noticed this, someone else has suggested that the behavior to always quote the executable/modulename being launched (specified using the lpApplicationname argument of CreateProcess, for the case of windows explorer I'm assuming)) should be the default behavior for the wine executable.
I didn't agree at first, but I've had a think about it and here are my thoughts.
It would make sense for wine to have this behavior, because the wine executable launches all programs that a user would normally launch though explorer on a Windows system, such as running a program directly or by shortcut on the desktop or otherwise.
Shortcuts, which are handled by wine when converted to the free desktop equivalent are also launched using wine.
So the way wine is used by users invoking it from the shell or by clicking on icons is in a way, replacing the pattern of this being done through explorer, which evidently makes winefile irrelevant for this purpose.