On Sunday 13 September 2015 15:32, xky wrote:
> [ pipe.d ]:
> ==
> import std.process;
> import std.stdio;
>
> void main(){
> auto info = pipeProcess("child.exe");
> scope(exit) wait(info.pid);
>
>
On Sunday, 13 September 2015 at 13:34:18 UTC, Adam D. Ruppe wrote:
I'm in a super rush, running late to something else, but try
using readln in the child before writing and see what happens.
You sent data to it but the child never read it.
oh my... you're right. lol
so, i fix "pipe.d" this:
I'm in a super rush, running late to something else, but try
using readln in the child before writing and see what happens.
You sent data to it but the child never read it.
Hello. :)
I just got a this problem when i read "D Cookbook".
[ pipe.d ]:
==
import std.process;
import std.stdio;
void main(){
auto info = pipeProcess("child.exe");
scope(exit) wait(info.pid);