added 'set -o ignoreeof' to prevent sending eof to shells and killing them