我想做相当于
i=${pwd}
poudriere -o $i -j 114Ramd64
我目前的尝试:
test port = do
let p = format fp port -- Filepath to text
let args = ["-j", "114Ramd64", "-o", p]
liftIO (proc "poudriere" args empty)
main = do
port <- pwd
sh (test port)
有没有办法以某种方式避免从 FilePath 到 Text 的转换?谢谢