Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ddssff opened this issue Aug 26, 2018 · 0 comments
Open

Comments

@ddssff
Copy link
Contributor

ddssff commented Aug 26, 2018

λ>  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
λ> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant