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

2017-11-17 Thread Brent Royal-Gordon via swift-corelibs-dev
> On Nov 17, 2017, at 11:34 AM, Tony Parker via swift-corelibs-dev > wrote: > > It does seem like there is a possibility of some better convenience API here. > > Any ideas on what form it would take? A class method on Process that returns > the output, maybe? `Process.run(_:arguments:terminat

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

2017-11-17 Thread William Dillon via swift-corelibs-dev
I, to, have wished for such an API. I think that would be a very welcome addition. > On Nov 17, 2017, at 11:34 AM, Tony Parker via swift-corelibs-dev > wrote: > > Hi Abhi, > > It does seem like there is a possibility of some better convenience API here. > > Any ideas on what form it would ta

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

2017-11-17 Thread Tony Parker via swift-corelibs-dev
Hi Abhi, It does seem like there is a possibility of some better convenience API here. Any ideas on what form it would take? A class method on Process that returns the output, maybe? - Tony > On Nov 16, 2017, at 3:34 PM, Abhi Beckert via swift-corelibs-dev > wrote: > > Swift is a great shel

Re: [swift-corelibs-dev] Encountering "Constant strings cannot be deallocated"

2017-11-17 Thread Alex Blewitt via swift-corelibs-dev
Thanks! Alex > On 17 Nov 2017, at 17:27, Brandon Williams wrote: > > I haven’t been able to find a minimal test case, but at least the test case I > linked to reproduces every time. > > I’m not sure I’ll have time to search for a minimal case today, and I leave > for vacation tomorrow :/ per

Re: [swift-corelibs-dev] Encountering "Constant strings cannot be deallocated"

2017-11-17 Thread Brandon Williams via swift-corelibs-dev
I haven’t been able to find a minimal test case, but at least the test case I linked to reproduces every time. I’m not sure I’ll have time to search for a minimal case today, and I leave for vacation tomorrow :/ perhaps when I get back. I did at least file the bug report: https://bugs.swift.org/b

Re: [swift-corelibs-dev] Encountering "Constant strings cannot be deallocated"

2017-11-17 Thread Alex Blewitt via swift-corelibs-dev
Can you file a bug at bugs.swift.org with a minimal test case? It certainly sounds like a bug, and from the looks of the docker files, you're using the swift 4.0.2 release on Ubuntu 16.04. If you can run the test under LLDB and put a breakpoint in that function, and get