Skip to content

Instantly share code, notes, and snippets.

@theelous3
Created April 25, 2017 12:44
Show Gist options
  • Save theelous3/fb8c9211d61e0d314e54d3a63c49333a to your computer and use it in GitHub Desktop.
Save theelous3/fb8c9211d61e0d314e54d3a63c49333a to your computer and use it in GitHub Desktop.
#!/bin/sh
if test -t 1; then
exec 1>/dev/null
fi
if test -t 2; then
exec 2>/dev/null
fi
"$@" &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment