diff --git a/home/bin/spawn-once b/home/bin/spawn-once new file mode 100755 index 0000000..ce64c7d --- /dev/null +++ b/home/bin/spawn-once @@ -0,0 +1,4 @@ +#!/bin/sh +if ! ps cx|grep "$1\$" >> /dev/null; then + exec $@ +fi