The terminal is automatically closed when the job is finished. If you
start a child process, the parent process (the shell) will hang around
until the child is done. This the job isn't fully finished. You can
manually close the terminal though.
I think this is OK, although it might be unexpected that the terminal
window closes when the child process is done. And in this case any
output might be lost in the redraw.
To simulate the effect use this shell script:
#!/bin/sh
sleep 3
echo DONE NOW
And execute that from the shell, then type "exit".
--
hundred-and-one symptoms of being an internet addict:
77. The phone company asks you to test drive their new PBX system
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///