https://bugs.winehq.org/show_bug.cgi?id=38293
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |us@edmeades.me.uk
--- Comment #1 from Jason Edmeades us@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!