Comment Comment by nlo This can be mitigated by wrapping your whole script in parens, as in: #!/usr/bin/env bash ( # real work ) parent nlo 12 years ago