标签: shell haskell io
在阅读System.Process的文档并尝试使用callCommand时,我发现它不可用:
System.Process
callCommand
test.hs:1:24: Module `System.Process' does not export `callCommand'
为什么?
答案 0 :(得分:2)
callProcess已添加到版本1.2.0.0中的process库中。我怀疑你使用的是早期版本。
callProcess
1.2.0.0
process