From 88ac7021fc8d7c134291a9058561fdefdadeb2ec Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 30 Oct 2023 17:57:56 -0500 Subject: [PATCH] let python pick the browser --- home/private_bin/executable_ssh-serve-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/private_bin/executable_ssh-serve-files b/home/private_bin/executable_ssh-serve-files index 701d0c3..4aefeba 100644 --- a/home/private_bin/executable_ssh-serve-files +++ b/home/private_bin/executable_ssh-serve-files @@ -72,7 +72,7 @@ printf " ${BOLD}->>${CYAN} %s${END}\n" "${DIR}" printf "opening ${BOLD}%s${END} using %s\n" "$URL" "$BROWSER" echo '---------------' -"$BROWSER" "$URL" >/dev/null 2>&1 & +python -m webbrowser "$URL" >/dev/null 2>&1 & # first change directory in case python<3.7 ssh -tL localhost:"$PORT":localhost:"$PORT" "$USER_HOST" \