Re: segfault when using std.parallelism and std.process.executeShell

2014-01-07 Thread Ali Çehreli
On 12/12/2013 08:33 PM, Nikhil Padmanabhan wrote: Hi, The following code dies with a segfault : import std.stdio, std.parallelism, std.process; void main() { auto a=[hello,world,goodbye]; foreach(s; parallel(a,1)) { auto ls=executeShell(echo ~s);

Re: segfault when using std.parallelism and std.process.executeShell

2014-01-07 Thread Kelet
On Tuesday, 7 January 2014 at 23:12:09 UTC, Ali Çehreli wrote: don't know the original problem but that program works without any problem with the current dmd on github. Works for me on dmd v2.064 (current stable) on Windows.

segfault when using std.parallelism and std.process.executeShell

2013-12-12 Thread Nikhil Padmanabhan
Hi, The following code dies with a segfault : import std.stdio, std.parallelism, std.process; void main() { auto a=[hello,world,goodbye]; foreach(s; parallel(a,1)) { auto ls=executeShell(echo ~s); writeln(ls.output); } } both in ldc and