GAP.jl
GAP.jl copied to clipboard
redirect Julia's stderr?
Currently Julia error messages are visible on the screen
but they do not appear in GAP's log files.
For example, the ArgumentError: ...
line from the GAP session
gap> Julia.Base.\/\/( 0, 0 );
ArgumentError: invalid rational: zero(Int64)//zero(Int64)
Error, JuliaError
not in any function at *stdin*:15
type 'quit;' to quit to outer loop
brk>
is missing from the corresponding GAP log file.
Would it be possible to redirect Julia's stderr such that GAP's stderr is used instead?
This was already fixed in #60
Not really, that only dealt with exceptions caught by us. Eg our test suite causes Julia to print warnings to stderr. And strictly speaking, I guess one might also want to redirect their stdout
Okay, the given example is nevertheless invalid, as this one is fixed. I will have a look at the testsuite.
@fingolfin I cannot really find a place where the testuite prints errors to the screen. Can you point this out?
@sebasguts see issue #237