aboutsummaryrefslogtreecommitdiffstats
path: root/bin/run_once
diff options
context:
space:
mode:
Diffstat (limited to 'bin/run_once')
-rwxr-xr-xbin/run_once4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/run_once b/bin/run_once
new file mode 100755
index 0000000..3829f7e
--- /dev/null
+++ b/bin/run_once
@@ -0,0 +1,4 @@
+#!/bin/bash
+#Alternative
+pgrep $@ > /dev/null || ($@ &)
+