[Bug 38293] Setting PROMPT in a batch file resets on exit of batch file

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 3 17:59:03 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38293

Jason Edmeades <us at edmeades.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |us at edmeades.me.uk

--- Comment #1 from Jason Edmeades <us at edmeades.me.uk> ---
At a guess (untested, I dont have a Linux atm) you need to move:

in wcmdmain.c

2685   SetEnvironmentVariableW(promptW, defaultpromptW);

to between

2420   interactive = FALSE;
and
2422   if (opt_c || opt_k) {

If someone wants to test that and it works, feel free to submit a patch... Was
just seeing the state of CMD bugs!

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