From 4b924e6782c5903603922d38b2a8dd9c6e473f88 Mon Sep 17 00:00:00 2001 From: mbal Date: Sat, 6 Jul 2024 15:07:24 -0700 Subject: [PATCH] Meta: Use the binary to run the app instead of open on macos This should fix the control-c issue mentioned in https://github.com/LadybirdBrowser/ladybird/issues/68 --- Meta/ladybird.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/ladybird.sh b/Meta/ladybird.sh index b9b65fc245..c1e98aa490 100755 --- a/Meta/ladybird.sh +++ b/Meta/ladybird.sh @@ -191,7 +191,7 @@ build_and_run_lagom_target() { build_target "${lagom_target}" if [ "$lagom_target" = "ladybird" ] && [ "$(uname -s)" = "Darwin" ]; then - open --wait-apps --stdout "$(tty)" --stderr "$(tty)" "$BUILD_DIR/bin/Ladybird.app" --args "${lagom_args[@]}" + "$BUILD_DIR/bin/Ladybird.app/Contents/MacOS/Ladybird" "${lagom_args[@]}" else local lagom_bin="$lagom_target" if [ "$lagom_bin" = "ladybird" ]; then