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

2017-11-20 Thread Nick Keets via swift-corelibs-dev
Looking at what Python (subprocess) and Go (os.exec) do, it looks like they agree on the following: - executable and arguments are merged in one array - they don't require full path for the executable - they don't expand tildes - blocking calls are the default - they are more explicit about st

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