To start the job launch.sh, use nohup: $ nohup launch.sh > output.log 2 > error.log & Note: Any messages that will come on STDOUT is redirected to output.log, and errors are into error.log. The amperscant is to run it in the background. Of course, this is not meant for interactive programs.