Redirect stdout and stderr.

Tobias Pankrath tobias at pankrath.net
Tue Jul 3 11:35:13 PDT 2012


On Tuesday, 3 July 2012 at 18:30:41 UTC, Tobias Pankrath wrote:
> Is it possible to redirect stdout in a way that all following 
> calls to
> writeln etc just write to /dev/null or something similar?
>
> Thanks!

And I need to restore them afterwards.


More information about the Digitalmars-d-learn mailing list