summaryrefslogtreecommitdiffstats
path: root/pause-proc
diff options
context:
space:
mode:
Diffstat (limited to 'pause-proc')
-rwxr-xr-xpause-proc6
1 files changed, 6 insertions, 0 deletions
diff --git a/pause-proc b/pause-proc
new file mode 100755
index 0000000..46e5799
--- /dev/null
+++ b/pause-proc
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+pkill -STOP "$@"
+echo "press enter to unpause"
+read
+pkill -CONT "$@"