Re: Process Pipes

2018-10-11 Thread Steven Schveighoffer via Digitalmars-d-learn
On 10/10/18 4:07 AM, Gorker wrote: On Wednesday, 10 October 2018 at 08:02:29 UTC, Kagamin wrote: stderr buffer is full (it's about 8kb or so) and gcc waits when you read from it. Thank you for your kind reply, How to just try to read from stdout (not blocking), and then try to read from

Re: Process Pipes

2018-10-10 Thread Colin via Digitalmars-d-learn
On Tuesday, 9 October 2018 at 09:15:09 UTC, Gorker wrote: Hi all, I'm on macOS 10.11.6 with dmd 2.081.2 and I've a problem with std.process. --- gork ():foo gorker$ gcc -c -Iinclude -o foo.cpp.o src/foo.cpp In file included from src/foo.cpp:2: include/foo/foo.hpp:22:10: warning: scoped

Re: Process Pipes

2018-10-10 Thread Danny Arends via Digitalmars-d-learn
On Wednesday, 10 October 2018 at 09:16:43 UTC, Gorker wrote: On Wednesday, 10 October 2018 at 08:31:36 UTC, Kagamin wrote: Maybe read them with parallelism? http://dpldocs.info/experimental-docs/std.parallelism.parallel.2.html thanks, but I'd rather avoid having to use threads just for this

Re: Process Pipes

2018-10-10 Thread Gorker via Digitalmars-d-learn
On Wednesday, 10 October 2018 at 08:31:36 UTC, Kagamin wrote: Maybe read them with parallelism? http://dpldocs.info/experimental-docs/std.parallelism.parallel.2.html thanks, but I'd rather avoid having to use threads just for this reason. some other suggestion?

Re: Process Pipes

2018-10-10 Thread Kagamin via Digitalmars-d-learn
Maybe read them with parallelism? http://dpldocs.info/experimental-docs/std.parallelism.parallel.2.html

Re: Process Pipes

2018-10-10 Thread Gorker via Digitalmars-d-learn
On Wednesday, 10 October 2018 at 08:02:29 UTC, Kagamin wrote: stderr buffer is full (it's about 8kb or so) and gcc waits when you read from it. Thank you for your kind reply, How to just try to read from stdout (not blocking), and then try to read from stderr (not blocking)? I mean, how to

Re: Process Pipes

2018-10-10 Thread Kagamin via Digitalmars-d-learn
stderr buffer is full (it's about 8kb or so) and gcc waits when you read from it.

Process Pipes

2018-10-09 Thread Gorker via Digitalmars-d-learn
Hi all, I'm on macOS 10.11.6 with dmd 2.081.2 and I've a problem with std.process. --- gork ():foo gorker$ gcc -c -Iinclude -o foo.cpp.o src/foo.cpp In file included from src/foo.cpp:2: include/foo/foo.hpp:22:10: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]