nohup ./myprogram > log.out & 使用时,将./myprogram替换成想要执行的命令即可 转载于:https://www.cnblogs.com/zhyantao/p/10802522.html