gregwebs/Shelly.hs

run_ (vs. run) disables the operation of log_stdout_with and log_stderr_with

Opened this issue · 0 comments

λ>  shelly $ log_stdout_with (Data.Text.IO.putStrLn . (" 1> " <>)) $ Shelly.run "ls" ["-1"]
 1> 01.diff
 1> ChangeLog.md
 1> dist
 1> doc
 1> examples
 1> LICENSE
 1> README.md
 1> Setup.hs
 1> shelly.cabal
 1> shelly-extra
 1> src
 1> stack.yaml
 1> test
"01.diff\nChangeLog.md\ndist\ndoc\nexamples\nLICENSE\nREADME.md\nSetup.hs\nshelly.cabal\nshelly-extra\nsrc\nstack.yaml\ntest\n"
λ>  shelly $ log_stdout_with (Data.Text.IO.putStrLn . (" 1> " <>)) $ run_ "ls" ["-1"]
01.diff
ChangeLog.md
dist
doc
examples
LICENSE
README.md
Setup.hs
shelly.cabal
shelly-extra
src
stack.yaml
test
λ>