Getting familiar with std.process

jmh530 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 9 19:29:49 PST 2017


On Thursday, 9 February 2017 at 21:36:46 UTC, Ali Çehreli wrote:
> On 02/09/2017 12:44 PM, jmh530 wrote:
>
> > I think the issue is that create_file doesn't write to
> stdout, it writes
> > to file.
>
> Correct. Pipe works by piping the standard input/output streams.
>
> > Other than reading the file and then deleting it, I don't know
> > what else to try.
>
> create_file must write to its stdout.
>
> Ali

If only it were that easy. It's not my program writing to file, 
it's some one I didn't write. This was just sort of a beta test. 
I might need to look into the program a bit more.



More information about the Digitalmars-d-learn mailing list