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

2017-11-30 Thread Nick Keets via swift-corelibs-dev
In that case I think the discussion is kind of moot, scripts are fundamentally different than apps, being terse is important and almost always you want to block. If better scripting support is a non-goal for Foundation then `Process` is mostly fine as it is. My only wish would be to somehow make i

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

2017-11-30 Thread Jacob Williams via swift-corelibs-dev
Since this isn’t going to be coming to Foundation any time…ever, I’d take a look at the SwiftShell framework. It makes running command line utilities from swift pretty easy. Chaining outputs from previous commands into subsequent commands is also rather simple. It’s based on Process but gives a

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

2017-11-30 Thread Tony Parker via swift-corelibs-dev
Why did we give up so easily? I did not say that scripting support is somehow a non-goal. In fact, it is exactly the opposite. I do not believe that somehow API that is useful for scripts is mutually exclusive with API that is useful for apps. - Tony > On Nov 30, 2017, at 9:26 AM, Jacob Willia