debug
This commit is contained in:
parent
24469a7d54
commit
50f4f2b1ef
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ restOfLine = newline `after` many (noneOf "\n")
|
|||
getOutput :: String -> [String] -> Maybe [(String, String)] -> IO (String, Bool)
|
||||
getOutput cmd params env = do
|
||||
putStrLn $ unwords [cmd, show params]
|
||||
processTranscript' cmd params env Nothing
|
||||
out@(s, ok) <- processTranscript' cmd params env Nothing
|
||||
putStrLn $ unwords [cmd, "finished", show ok, "output size:", length s]
|
||||
return out
|
||||
|
||||
runParser' :: Parser a -> String -> String -> a
|
||||
runParser' p s paramfile = either failedparse id (parse p "" s)
|
||||
|
|
Loading…
Add table
Reference in a new issue