I have a related question: is there some easy way to implement something 
like Scheme's WITH-OUTPUT-TO-FILE?  I tried writing one at some point 
(using redirect_stdout()) but did not manage to make it work because of 
similar issues...
-Kevin

On Tuesday, February 11, 2014 8:09:03 AM UTC-8, [email protected] wrote:
>
> Hi all,
> I'm using ccall with library code (libTIFF) that is emitting warnings that 
> I don't care about to STDERR.  At least I assume it's STDERR, they show up 
> as pink in IJulia.
>
> I would have thought that I could silence these with something like
>
> redirect_stderr(DevNull)
>
> but I get `ERROR: type DevNullStream has no field handle`.  I also can't 
> seem to find the type of DevNull to find out if it is a proper stream. 
>
> While I'm at it, how do I turn stderr back on when I'm done?
>

Reply via email to