X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/c0c90673b8858c021e95453ce017397db5242c75..ff6133658a83faec2b2db3614931434e2bda1b1c:/fake-userv diff --git a/fake-userv b/fake-userv index cf5c9f0..03e8653 100755 --- a/fake-userv +++ b/fake-userv @@ -1,9 +1,10 @@ #!/bin/sh -set -e +set -ex echo >&2 "$0: invoked as $0 $*" exec 3<&0 4>&1 5>&2 >&2 &4 2>&5 & + "$@" <&3 >&4 2>&5 & sleep 0.1 env - bash -i ' x "$@"