-
d980a30a
by Eric Pouech at 2025-09-19T23:10:11+02:00
cmd: Only set console's default color when provided.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
f9a21ec0
by Eric Pouech at 2025-09-19T23:10:13+02:00
cmd: Fix some initial env variables setup.
- COMSPEC should be set to the path of running cmd.exe
instance if not present,
- PROMPT must be set to $P$G if not already defined.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
bbe2cfb2
by Eric Pouech at 2025-09-19T23:10:18+02:00
cmd: Fix context detection in cmd /c.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
81f64da4
by Eric Pouech at 2025-09-19T23:10:18+02:00
cmd: Don't use page mode for stderr.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
493966ab
by Eric Pouech at 2025-09-19T23:10:18+02:00
cmd: Introduce helper to push/pop i/o handles for redirections.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
fc70990d
by Eric Pouech at 2025-09-19T23:10:18+02:00
cmd: Ensure that all output to STD_OUTPUT go through WCMD_output_asis.
This allows:
- to also page formatted output (no reason it isn't),
- implement line buffering for STD_OUTPUT.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>