【发布时间】:2017-09-11 11:09:14
【问题描述】:
可能是一个幼稚的问题,
我在红宝石里有这个
system(ansible-playbook -i #{ip_address}, #{file_to_run}")
system(sudo chmod -R ugo+rw /etc/ansible)
尝试使用 System.cmd/3 的变化来重现这一点
System.cmd("sudo chmod -R ugo+rw /etc/ansible",[],[])
得到一个
(ErlangError) erlang error: :enoent
请问我该如何纠正这个问题?
【问题讨论】:
标签: erlang elixir phoenix-framework