general stderr

This commit is contained in:
Shreyas Goenka 2025-03-05 13:17:09 +01:00
parent 90a95846ad
commit 8c094db503
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
2 changed files with 3 additions and 3 deletions

View File

@ -12,5 +12,5 @@ Error: running "bash -c exit 5" failed with exit code: 5
Exit code: 1
>>> [CLI] bundle exec -- bash -c echo hello > /dev/stderr
hello
>>> [CLI] bundle exec -- python3 -c import sys; print('Hello', file=sys.stderr)
Hello

View File

@ -8,4 +8,4 @@ errcode trace $CLI bundle exec -- --help
errcode trace $CLI bundle exec -- bash -c "exit 5"
# stderr should also be passed through.
trace $CLI bundle exec -- bash -c "echo hello > /dev/stderr"
trace $CLI bundle exec -- python3 -c "import sys; print('Hello', file=sys.stderr)"