Re: [swift-corelibs-dev] NSTask and NSFileHandle implementation

2016-04-22 Thread Tony Parker via swift-corelibs-dev
Hi Alexander, Small incremental changes is usually a good approach. As for adding tests first, we can do that but we just need to make sure they don’t fail the build. What approach would you have in mind for that? - Tony > On Apr 22, 2016, at 1:37 AM, Alexander Alemayhu via swift-corelibs-dev

Re: [swift-corelibs-dev] NSTask and NSFileHandle implementation

2016-04-22 Thread Alexander Alemayhu via swift-corelibs-dev
Hei Everyone, I have been reading the documentation the last couple of days and have been thinking that it would make more sense to try to tackle this via several incremental changes vs a large pull request some time in the future. What do you think? If that is preferred, I would purpose as a

Re: [swift-corelibs-dev] NSTask and NSFileHandle implementation

2016-04-20 Thread Chris Bailey via swift-corelibs-dev
l.j.stenm...@gmail.com>, Swift core libraries <swift-corelibs-dev@swift.org> Date: 20/04/2016 02:46 Subject: Re: [swift-corelibs-dev] NSTask and NSFileHandle implementation Wouldn't it still be a huge win to use dispatch for reading from / writing to a file descriptor? /Daniel

Re: [swift-corelibs-dev] NSTask and NSFileHandle implementation

2016-04-19 Thread Daniel Eggert via swift-corelibs-dev
ia swift-corelibs-dev > <swift-corelibs-dev@swift.org> > To:Alexander Alemayhu <alexan...@alemayhu.com> > Cc:Swift core libraries <swift-corelibs-dev@swift.org> > Date:16/04/2016 22:00 > Subject:Re: [swift-corelibs-dev] NSTask and

Re: [swift-corelibs-dev] NSTask and NSFileHandle implementation

2016-04-18 Thread Chris Bailey via swift-corelibs-dev
-corelibs-dev <swift-corelibs-dev@swift.org> To: Alexander Alemayhu <alexan...@alemayhu.com> Cc: Swift core libraries <swift-corelibs-dev@swift.org> Date: 16/04/2016 22:00 Subject: Re: [swift-corelibs-dev] NSTask and NSFileHandle implementation Sent by:swift

Re: [swift-corelibs-dev] NSTask and NSFileHandle implementation

2016-04-17 Thread Alexander Alemayhu via swift-corelibs-dev
> On 16 Apr 2016, at 22:55, Dan Stenmark wrote: > > Hey Alexander, > > I supplied most of the initial implementation of NSTask, but was holding off > on IO redirection until someone tackled NSFileHandle. I can’t say if anyone > else on this list is working on

Re: [swift-corelibs-dev] NSTask and NSFileHandle implementation

2016-04-16 Thread Dan Stenmark via swift-corelibs-dev
While we’re on the subject, I’ve been out of the loop for a little while: how’s the Linux-side implementation of dispatch sources looking these days? In particular, I’m interested in the status of DISPATCH_SOURCE_TYPE_READ and DISPATCH_SOURCE_TYPE_PROC. Right now, NSTask is using Good Ol’

[swift-corelibs-dev] NSTask and NSFileHandle implementation

2016-04-16 Thread Alexander Alemayhu via swift-corelibs-dev
Hei Everyone, Is anyone working on the NSTask and/or NSFileHandle implementation? I would like to fix the hangs issue in order to revert [3aa8434][0](disable NSTask tests for now since it can cause hangs., 2016-01-21), but want to avoid duplicating work. Fixing this should also resolve