aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.local/bin/stop
diff options
context:
space:
mode:
Diffstat (limited to 'home/.local/bin/stop')
-rwxr-xr-xhome/.local/bin/stop7
1 files changed, 7 insertions, 0 deletions
diff --git a/home/.local/bin/stop b/home/.local/bin/stop
new file mode 100755
index 0000000..993b722
--- /dev/null
+++ b/home/.local/bin/stop
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+
+eval "$@" &
+pid="$!"
+echo "$pid"
+kill -STOP "$pid"
+tail --pid=$pid -f /dev/null