Alexandre Julliard pushed to branch master at wine / wine
Commits: 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
- - - - -
6 changed files:
- programs/cmd/batch.c - programs/cmd/builtins.c - programs/cmd/tests/test_builtins.cmd - programs/cmd/tests/test_builtins.cmd.exp - programs/cmd/wcmd.h - programs/cmd/wcmdmain.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/327892f280c5927cc5a8179c579ba9...