Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run_cmd: do not emit stderr to console
During repo-root probing errors are expected. However, these are emitted to the caller terminal as we do not internally redirect them. We now also caputure stderr on run_cmd. Sample output: 2024-12-11 09:59:34 - INFO - kas 4.6 started fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). abort: no repository found in '/work' (.hg not found) fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). abort: no repository found in '/work' (.hg not found) 2024-12-11 09:59:34 - INFO - Using /repo as root for repository cip-core Fixes: bbbc087 ("fix(run_cmd): handle not-executable errors") Signed-off-by: Felix Moessbauer <[email protected]>
- Loading branch information