Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はbashスクリプトtest.shを持っています
node ~/script1.js && \ node ~/script2.js && \ node ~/script3.js
bash スクリプトを起動します
nohup ~/test.sh &
その後、サーバーへの接続が失われたために切断されます。nohup を使用したため、スクリプトは続行すると予想されますが、ノード スクリプトはハングアップ信号を受信しています。
これを行う正しい方法は何ですか?