Skip to content

Instantly share code, notes, and snippets.

@j0d5
Created May 23, 2016 07:32
Show Gist options
  • Save j0d5/9b0b8e50980cabd88436f61a77d860d8 to your computer and use it in GitHub Desktop.
Save j0d5/9b0b8e50980cabd88436f61a77d860d8 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