Skip to content

Commit 4b4f645

Browse files
authored
exec macos app for better output when using bazel run (bazelbuild#2019)
1 parent c678d8d commit 4b4f645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apple/internal/templates/macos.template.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ readonly BUNDLE_INFO_PLIST="${APP_DIR}/Contents/Info.plist"
3939
readonly BUNDLE_EXECUTABLE=$(/usr/libexec/PlistBuddy -c "Print :CFBundleExecutable" "${BUNDLE_INFO_PLIST}")
4040

4141
# Launch the app binary
42-
"${APP_DIR}/Contents/MacOS/${BUNDLE_EXECUTABLE}" "$@"
42+
exec "${APP_DIR}/Contents/MacOS/${BUNDLE_EXECUTABLE}" "$@"

0 commit comments

Comments
 (0)