-
cfe0c4aa
by Eric Pouech at 2025-08-15T14:52:10+02:00
cmd/tests: Add a couple of tests about return code propagation.
Especially when running another cmd.exe instance, or using
GOTO.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
4ce06f28
by Eric Pouech at 2025-08-15T14:52:10+02:00
cmd: Fix exit code when run with /C command line option.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
2a9b3d63
by Eric Pouech at 2025-08-15T14:52:10+02:00
cmd: Factorize some code.
Replace skip_rest field in batch context structure usng file position after
EOF instead.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
6a7dc302
by Eric Pouech at 2025-08-15T14:52:10+02:00
cmd: Use a context when handling input from command line (/c, /k).
This allows to:
- simplify some internal code
- get rid of global 'interactive' variable
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
51351b6b
by Eric Pouech at 2025-08-15T14:52:10+02:00
cmd: Separate command file handling from external commands.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
8258509d
by Eric Pouech at 2025-08-15T14:52:10+02:00
cmd: Fix exit code in cmd /c when leaving nested command files.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>