[Bug 28920] vsvars32 PATH setting doesn't propagate to caller

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 28 14:00:27 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28920

Dan Kegel <dank at kegel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |

--- Comment #2 from Dan Kegel <dank at kegel.com> 2011-10-28 14:00:27 CDT ---
Wait, it's not really a dup.  Oddly, the problem goes away if you
quote the path to the batch file.  Looking on the web, everybody does this,
and trying it on Windows 7, the call won't even work without quotes.

So the problem seems to be that wine's cmd is too forgiving about
running programs from unquoted paths, and when it does that, it runs
the batch file as a new subprocess rather than as just another script,
thus the settings from the batch file are lost.

-- 
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.



More information about the wine-bugs mailing list