update
run ghci as subprocess and run commands