julia> redirect_stderr(open("foo.txt", "w"))
IOStream(<file foo.txt>)

seems to work...

On Wed, Jul 8, 2015 at 8:43 AM, Scott Jones <[email protected]>
wrote:

> That would work for a command, yes, but I'm trying to redirect the output
> from a Julia process.
> I figured out a way to discard it though, simply call redirect_stderr(),
> although I'm still surprised, the redirect_std* functions say that they
> don't accept a file, which is frequently what I want to do.
>
>
> On Wednesday, July 8, 2015 at 8:31:01 AM UTC-4, Steven G. Johnson wrote:
>>
>>
>>
>> On Tuesday, July 7, 2015 at 9:45:45 PM UTC-4, Scott Jones wrote:
>>>
>>> What *should* I be doing to stop the warnings from being displayed?
>>>
>>
>> pipe(cmd, stderr=DevNull)
>>
>

Reply via email to