Am 12.07.2010 um 13:43 schrieb Pavel Sanda:

> Stephan Witt wrote:
>>> Yes, but tex2lyx fails when run from LyX as converter. The output of this 
>>> operation I'm looking for.
>>> E. g. with adding a -v to the converter config line or something similar.
>>> But possibly there is some output already and it is lost somehow...
>> 
>> I see in the constructor SystemcallPrivate::SystemcallPrivate 
>> (SystemCall.cpp)
>> the error output of the child process is collected only if it's going to an 
>> terminal.
>> I think it would be better to collect it unconditionally to show it in the 
>> message window.
>> What do others think?
> 
> whats the point of collecting it if we are not going to show it?

The point is that you can read it when looking for it in the message window.
That's currently not possible, the error messages are lost.

Here on Mac if I start LyX the stdin, stdout and stderr are redirected on 
startup.

If I remove the os::is_terminal(os::STDERR) test the output becomes visible.

Another story is to show the errors in the alert popup. This can be improved 
too.

Stephan

Reply via email to