1 2 3 4 5 6 7
#!/usr/bin/env sh eval "$@" & pid="$!" echo "$pid" kill -STOP "$pid" tail --pid=$pid -f /dev/null