在ksh中,只需运行disown而不带-h选项。就这样。从ksh(1)手册中: disown [ job... ] Causes the shell not to send a HUP signal to each given job, or all active jobs if job is omitted, when a login shell terminates.