
#8838: Allow running bash shell commands ------------------------------------------------+-------------------------- Reporter: jstolarek | Owner: Type: feature request | Status: closed Priority: normal | Milestone: 7.10.1 Component: libraries/process | Version: Resolution: invalid | 7.8.1-rc2 Operating System: Linux | Keywords: Type of failure: Incorrect result at runtime | Architecture: Test Case: | Unknown/Multiple Blocking: | Difficulty: | Unknown | Blocked By: | Related Tickets: #8802 ------------------------------------------------+-------------------------- Comment (by nomeata): Replying to [comment:4 jstolarek]:
Is proc "bash" ["-c", "..."] not sufficient for your use cases? Yes, it is. I wonder why this works? I mean parameters are escaped.
No, they are not – `translate` is not used here! (as mentioned in ticket:8802#comment:6). But that explains the confusion :-) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8838#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler