→ CP64: 這樣只有第一條指令吃到 nohup 最後一條吃到 & 07/25 08:59
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 112.104.88.163
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1437759835.A.F8A.html
我想使用 nohup & 再背景自動 build code
可是我build code 需要有多行指令
export USERDATA_APK="Facebook_Client";
source build/envsetup.sh; lunch dlx-userdebug DEBUG;
make 2>&1 > make.log
我把上面合併起來變成一行 ,指令前後分別加上nohup , & 包住這些指令
不過還是無法build成功
nohup export USERDATA_APK="Facebook_Client" ;
source build/envsetup.sh; lunch dlx-userdebug DEBUG; make 2>&1 >
make.log &
請問這是什麼原因?
謝謝
--