后台运行命令nohup ./yourProject & 退出程序使用killall -9 yourProject 打包 bee pack -be GOOS=linuxbee pack -be GOOS=windows https://blog.csdn.net/learn8more/article/details/86664849