我想要獲得一個ssh觸發器,它將使用git存儲庫進行某些操作。當我在後臺運行代碼時,它可以工作。添加nohup不起作用。相關位只是說: git checkout master
Already on 'master'
但是,當我終於背景,它停止與合作: git checkout master
fatal: unable to write new index file
(輸出被定向到一個日
我的問題與此類似。 Using aliases with nohup 我花了很多時間定製,我包括在我的.bashrc 我想它與nohup的運行,因爲我想以這種方式運行命令幾次功能。 for i in `cat mylist`; do nohup myfunction $i 'mycommand' & done
任何提示?