[GHC] #8838: Allow running bash shell commands
GHC
ghc-devs at haskell.org
Mon Mar 3 08:44:58 UTC 2014
#8838: Allow running bash shell commands
------------------------------------------------+--------------------------
Reporter: jstolarek | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.10.1
Component: libraries/process | Version:
Resolution: | 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):
> Well, there is a built in support for running sh...
Correct, because a POSIX shell is, by specification, part of a unix
system; random and exotic bash features are not.
In any case, I’d advise against using shell commands in serious projects,
especially with untrusted data, the risks are just too great.
Is `proc "bash" ["-c", "..."]` not sufficient for your use cases?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8838#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list