Haskell - System.Process callCommand和其他函数不可用

时间:2016-04-02 12:27:13

标签: shell haskell io

在阅读System.Process的文档并尝试使用callCommand时,我发现它不可用:

test.hs:1:24: Module `System.Process' does not export `callCommand'

为什么?

1 个答案:

答案 0 :(得分:2)

callProcess已添加到版本1.2.0.0中的process库中。我怀疑你使用的是早期版本。