[Bug 38293] New: Setting PROMPT in a batch file resets on exit of batch file
https://bugs.winehq.org/show_bug.cgi?id=38293 Bug ID: 38293 Summary: Setting PROMPT in a batch file resets on exit of batch file Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs(a)winehq.org Reporter: stu.axon(a)gmail.com Distribution: --- Creating a batch file with either REM 1.bat PROMPT someprompt REM 2.bat SET PROMPT=someprompt And running it with: wine cmd /k 1.bat wine cmd /k 2.bat cmd.exe will launch but the prompt will still be the default prompt. -- 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=38293 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us(a)edmeades.me.uk --- Comment #1 from Jason Edmeades <us(a)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.
https://bugs.winehq.org/show_bug.cgi?id=38293 Hugh McMaster <hugh.mcmaster(a)outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster(a)outlook.com --- Comment #2 from Hugh McMaster <hugh.mcmaster(a)outlook.com> --- Fixed by commit 05bc632add5f6bc56de62632612eb10a1bff2725. -- 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=38293 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |05bc632add5f6bc56de62632612 | |eb10a1bff2725 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- (In reply to Hugh McMaster from comment #2)
Fixed by commit 05bc632add5f6bc56de62632612eb10a1bff2725.
Fixed. -- 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=38293 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.8-rc4. -- 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=38293 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net Version|unspecified |1.7.39 -- 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