I am trying to run an interactive command with haskell turtle library like this:
#!/usr/bin/env stack
-- stack --install-ghc runghc --package turtle
{-# LANGUAGE OverloadedStrings #-}
import Turtle
main = procs "python" [] empty
(I also tried shells function but it does not work either.) When I run it nothing hapens:
$ ./turtleTest.hs
$
But if I change "python" command to "ls" it works.
How can I run an interactive command like python repl with turtle library?