X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fstart-browser;h=2f65a3af4edeb3b49c815f559199d756c854ef88;hb=ef664a3172a52de794177b35de812c0658cd29ff;hp=48a18964e2221e2d26f9cfca45833260df1b224a;hpb=f46bd4d41cc7f243bc8a321effee5200aa69e709;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 "$@"