packages feed

typed-process 0.2.6.3 → 0.2.7.0

raw patch · 4 files changed

+10/−1 lines, 4 files

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for typed-process +## 0.2.7.0++* Include empty argument in the show instance.+ ## 0.2.6.3  * Doc improvements
src/System/Process/Typed.hs view
@@ -226,6 +226,7 @@       where         escape x             | any (`elem` " \\\"'") x = show x+            | x == "" = "\"\""             | otherwise = x instance (stdin ~ (), stdout ~ (), stderr ~ ())   => IsString (ProcessConfig stdin stdout stderr) where
test/System/Process/TypedSpec.hs view
@@ -166,3 +166,7 @@          let expected = "stdout\nstderr\nstdout\n"         L.take (L.length expected) lbs1 `shouldBe` expected++    it "empty param are showed" $+      let expected = "Raw command: podman exec --detach-keys \"\" ctx bash\n"+       in show (proc "podman" ["exec", "--detach-keys", "", "ctx", "bash"]) `shouldBe` expected
typed-process.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           typed-process-version:        0.2.6.3+version:        0.2.7.0 synopsis:       Run external processes, with strong typing of streams description:    Please see the tutorial at <https://github.com/fpco/typed-process#readme> category:       System