Re: [swift-corelibs-dev] Better integration with UNIX tools

2017-11-27 Thread Tony Parker via swift-corelibs-dev
Hi Nick, Thanks for this survey of other languages, it’s very useful. I think if we were to add something, I would prefer to keep it simple. Just one class method on Process which is a fairly straightforward wrapper of the other functionality already there. I was thinking of perhaps a completi

Re: [swift-corelibs-dev] Better integration with UNIX tools

2017-11-27 Thread Brent Royal-Gordon via swift-corelibs-dev
> On Nov 27, 2017, at 3:50 PM, Tony Parker via swift-corelibs-dev > wrote: > > I was thinking of perhaps a completion handler version, with the expectation > that once async/await style completions land it would be pretty easy to use > in a kind of straight-line mechanism. A completion handle

Re: [swift-corelibs-dev] Better integration with UNIX tools

2017-11-27 Thread Brent Royal-Gordon via swift-corelibs-dev
> On Nov 27, 2017, at 11:01 PM, Brent Royal-Gordon > wrote: > > We aren't today Sorry, this part of the sentence got mangled in editing. What I meant to say is, script-style programs currently don't run under a runloop, so if this API is being designed for scripting use, a completion handler