record output to file
This commit is contained in:
parent
d5981949e0
commit
5017523183
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ getOutput cmd params env = do
|
|||
putStrLn $ unwords [cmd, show params]
|
||||
out@(s, ok) <- processTranscript' cmd params env Nothing
|
||||
putStrLn $ unwords [cmd, "finished", show ok, "output size:", show (length s)]
|
||||
writeFile (cmd ++ ".out") s
|
||||
return out
|
||||
|
||||
runParser' :: Parser a -> String -> String -> a
|
||||
|
|
Loading…
Add table
Reference in a new issue