jw-pkg/src/python/jw/pkg/lib
Jan Lindemann 565946643b jw.pkg.*.run_xxx(): Return exit status
Most run_xxx() return stdout and stderr. There's no way, really, for
the caller to get hold of the exit code of the spawned executable. It
can pass throw=true, catch, and assume a non-zero exit status. But
that's not semantically clean, since the spawned function can well be
a test function which is expected to return a non-zero status code,
and the caller might be interested in what code that was, exactly.

The clearest way to solve this is to return the exit code as well.
This commit does that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-03-03 11:23:30 +01:00
..
App.py jw-pkg.sh: Print help for missing subcommands 2026-02-24 14:52:25 +01:00
Cmd.py jw-pkg.sh: Print help for missing subcommands 2026-02-24 14:52:25 +01:00
log.py lib.log: Add module 2026-01-26 17:58:23 +01:00
Makefile jw.pkg.build.lib: Move to jw.pkg.lib 2026-01-26 17:58:23 +01:00
SSHClient.py jw.pkg.*.run_xxx(): Return exit status 2026-03-03 11:23:30 +01:00
Types.py lib.Types: Add module 2026-01-26 17:58:23 +01:00
util.py jw.pkg.*.run_xxx(): Return exit status 2026-03-03 11:23:30 +01:00