我正在使用 PredictionIO 进行推荐,现在我想运行自动部署,我使用
exec('cd /home/abc/sites/BeeketingEngineShop/ && /home/abc/PredictionIO/bin/pio deploy)
但它继续运行,并没有部署在 0.0.0.0:8000
当我复制
cd /home/abc/sites/BeeketingEngineShop/ && /home/abc/PredictionIO/bin/pio deploy
到终端,效果很好