Julia运行外部程序

时间:2017-06-27 15:17:13

标签: unix julia pipeline

我如何将以下内容翻译成Julia的run / readstring / pipeline()框架?

home/bin/julia /home/elite_script.jl &>> /home/beckman/elite_log.log &

1 个答案:

答案 0 :(得分:4)

这将对应于:

spawn(pipeline(`home/bin/julia /home/elite_script.jl`, stdout="/home/beckman/elite_log.log", append=true))