> On Nov 19, 2017, at 7:01 PM, Abhi Beckert <m...@abhibeckert.com> wrote: > > First of all, I disagree with Brent's assessment that we shouldn't have a > variant that "simply shells out". Even though this use case is "discouraged" > in other languages, I think in practice it definitely has a place.
If you really want to do this, you can do it through the array-based API by calling `sh` with the arguments `["-c", yourCommand]`. This makes it slightly less convenient than the safe API, which is a *feature*, because we want people to reach for the safer API. -- Brent Royal-Gordon Architechies
_______________________________________________ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev