Clarify comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29654 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2009-05-13 09:56:47 +00:00
parent 97303baac2
commit 3cdf2acb95

View File

@ -93,8 +93,9 @@ int Systemcall::startscript(Starttype how, string const & what)
LYXERR0("status " << process->exitStatus()); LYXERR0("status " << process->exitStatus());
} }
if (!os::terminal_output()) { if (!os::terminal_output()) {
// Even if we are not running in a terminal, the output could // The output may have been redirected. But even if we are not
// go to some log file, for example ~/.xsession-errors on *nix. // running in a terminal, the output could go to some log file,
// for example ~/.xsession-errors on *nix.
cout << fromqstr(QString::fromLocal8Bit(process->readAllStandardOutput().data())) << endl; cout << fromqstr(QString::fromLocal8Bit(process->readAllStandardOutput().data())) << endl;
cerr << fromqstr(QString::fromLocal8Bit(process->readAllStandardError().data())) << endl; cerr << fromqstr(QString::fromLocal8Bit(process->readAllStandardError().data())) << endl;
} }