nohup + & 同時執行多行指令 - Linux

By James
at 2015-07-25T01:43
at 2015-07-25T01:43
Table of Contents
我想使用 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 &
請問這是什麼原因?
謝謝
--
可是我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 &
請問這是什麼原因?
謝謝
--
Tags:
Linux
All Comments

By Lauren
at 2015-07-27T04:57
at 2015-07-27T04:57
Related Posts
用 USB 安裝 linux 失敗

By Doris
at 2015-07-24T11:01
at 2015-07-24T11:01
for loop與if 判斷檔案搭配的問題

By Lily
at 2015-07-24T08:31
at 2015-07-24T08:31
急救 無線網路連線

By Poppy
at 2015-07-23T10:54
at 2015-07-23T10:54
PDF 中文顯示問題

By Oliver
at 2015-07-23T08:11
at 2015-07-23T08:11
在 GNU/Linux 系統上使用指令來燒錄光碟的一些心得

By Ethan
at 2015-07-22T23:00
at 2015-07-22T23:00