From b487984ecc61c6229cf92550030745c192fd3d0b Mon Sep 17 00:00:00 2001 From: Arnold Sommerfeld Date: Wed, 17 May 2023 18:44:48 +0100 Subject: first commit --- home/.local/bin/stop | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 home/.local/bin/stop (limited to 'home/.local/bin/stop') 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 -- cgit v1.2.3-70-g09d2