X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fstart-browser;h=2f65a3af4edeb3b49c815f559199d756c854ef88;hb=a56bc9e3b943afb9058897a47c23baf0f91fa808;hp=48a18964e2221e2d26f9cfca45833260df1b224a;hpb=b6d090cbe5ebb78087fdbd346908b6f60720de85;p=dotfiles.git diff --git a/bin/start-browser b/bin/start-browser index 48a1896..2f65a3a 100755 --- a/bin/start-browser +++ b/bin/start-browser @@ -1,5 +1,7 @@ #! /bin/sh +if pgrep "$1" >/dev/null; then exit 0; fi + browser-stack.py push "$@" "$@" exec browser-stack.py pop "$@"