2025-03-03 14:12:50 +00:00
|
|
|
trace $CLI bundle exec -- echo "hello, world"
|
|
|
|
|
2025-03-05 09:49:47 +00:00
|
|
|
# The CLI should not parse the --help flag and should try to run it as an executable
|
|
|
|
# instead.
|
|
|
|
trace $CLI bundle exec -- --help
|
2025-03-03 17:52:02 +00:00
|
|
|
|
|
|
|
# The error message should include the exit code.
|
2025-03-03 18:19:39 +00:00
|
|
|
errcode trace $CLI bundle exec -- bash -c "exit 5"
|
|
|
|
|
2025-03-03 18:52:45 +00:00
|
|
|
# stderr should also be passed through.
|
2025-03-03 18:19:39 +00:00
|
|
|
trace $CLI bundle exec -- bash -c "echo hello > /dev/stderr"
|