Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2015-03-20 Thread Scott Kostyshak
Issue resolved at 1dbf0e5a. Scott

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2015-03-20 Thread Scott Kostyshak
Issue resolved at 1dbf0e5a. Scott

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Scott Kostyshak
On Mon, Sep 15, 2014 at 3:22 PM, Kornel Benko kor...@lyx.org wrote: Am Montag, 15. September 2014 um 14:48:32, schrieb Scott Kostyshak skost...@lyx.org IMHO, if bibtex exits with errors, the compilation _is_ not OK, so the users should get appropriate error message (and break compilation).

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Kornel Benko
Am Mittwoch, 17. September 2014 um 09:06:00, schrieb Scott Kostyshak skost...@lyx.org On Mon, Sep 15, 2014 at 3:22 PM, Kornel Benko kor...@lyx.org wrote: Am Montag, 15. September 2014 um 14:48:32, schrieb Scott Kostyshak skost...@lyx.org IMHO, if bibtex exits with errors, the

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Scott Kostyshak
On Wed, Sep 17, 2014 at 10:02 AM, Kornel Benko kor...@lyx.org wrote: Am Mittwoch, 17. September 2014 um 09:06:00, schrieb Scott Kostyshak skost...@lyx.org On Mon, Sep 15, 2014 at 3:22 PM, Kornel Benko kor...@lyx.org wrote: Am Montag, 15. September 2014 um 14:48:32, schrieb Scott Kostyshak

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Richard Heck
On 09/17/2014 10:30 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:02 AM, Kornel Benko kor...@lyx.org wrote: Am Mittwoch, 17. September 2014 um 09:06:00, schrieb Scott Kostyshak skost...@lyx.org On Mon, Sep 15, 2014 at 3:22 PM, Kornel Benko kor...@lyx.org wrote: Am Montag, 15.

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Scott Kostyshak
On Wed, Sep 17, 2014 at 10:32 AM, Richard Heck rgh...@lyx.org wrote: On 09/17/2014 10:30 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:02 AM, Kornel Benko kor...@lyx.org wrote: Am Mittwoch, 17. September 2014 um 09:06:00, schrieb Scott Kostyshak skost...@lyx.org On Mon, Sep 15,

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Richard Heck
On 09/17/2014 11:04 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:32 AM, Richard Heck rgh...@lyx.org wrote: On 09/17/2014 10:30 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:02 AM, Kornel Benko kor...@lyx.org wrote: Am Mittwoch, 17. September 2014 um 09:06:00, schrieb Scott

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Kornel Benko
Am Mittwoch, 17. September 2014 um 13:49:20, schrieb Richard Heck rgh...@lyx.org On 09/17/2014 11:04 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:32 AM, Richard Heck rgh...@lyx.org wrote: On 09/17/2014 10:30 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:02 AM, Kornel Benko

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Scott Kostyshak
On Wed, Sep 17, 2014 at 1:49 PM, Richard Heck rgh...@lyx.org wrote: On 09/17/2014 11:04 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:32 AM, Richard Heck rgh...@lyx.org wrote: On 09/17/2014 10:30 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:02 AM, Kornel Benko

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Richard Heck
On 09/17/2014 03:02 PM, Scott Kostyshak wrote: Are there any ideas for the message? Without thinking much, I will throw out: xyz finished with an error. This was not previously reported in LyX so compilation is allowed to continue, but starting with LyX 2.2.0 this warning message will become

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Scott Kostyshak
On Wed, Sep 17, 2014 at 4:14 PM, Richard Heck rgh...@lyx.org wrote: On 09/17/2014 03:02 PM, Scott Kostyshak wrote: Are there any ideas for the message? Without thinking much, I will throw out: xyz finished with an error. This was not previously reported in LyX so compilation is allowed to

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Scott Kostyshak
On Mon, Sep 15, 2014 at 3:22 PM, Kornel Benko wrote: > Am Montag, 15. September 2014 um 14:48:32, schrieb Scott Kostyshak > >> > IMHO, if bibtex exits with errors, the compilation _is_ not OK, so >> > the users should get appropriate error message (and break

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Kornel Benko
Am Mittwoch, 17. September 2014 um 09:06:00, schrieb Scott Kostyshak > On Mon, Sep 15, 2014 at 3:22 PM, Kornel Benko wrote: > > Am Montag, 15. September 2014 um 14:48:32, schrieb Scott Kostyshak > > > > >> > IMHO, if bibtex exits with

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Scott Kostyshak
On Wed, Sep 17, 2014 at 10:02 AM, Kornel Benko wrote: > Am Mittwoch, 17. September 2014 um 09:06:00, schrieb Scott Kostyshak > >> On Mon, Sep 15, 2014 at 3:22 PM, Kornel Benko wrote: >> > Am Montag, 15. September 2014 um 14:48:32, schrieb Scott

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Richard Heck
On 09/17/2014 10:30 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:02 AM, Kornel Benko wrote: Am Mittwoch, 17. September 2014 um 09:06:00, schrieb Scott Kostyshak On Mon, Sep 15, 2014 at 3:22 PM, Kornel Benko wrote: Am Montag, 15.

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Scott Kostyshak
On Wed, Sep 17, 2014 at 10:32 AM, Richard Heck wrote: > On 09/17/2014 10:30 AM, Scott Kostyshak wrote: >> >> On Wed, Sep 17, 2014 at 10:02 AM, Kornel Benko wrote: >>> >>> Am Mittwoch, 17. September 2014 um 09:06:00, schrieb Scott Kostyshak >>>

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Richard Heck
On 09/17/2014 11:04 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:32 AM, Richard Heck wrote: On 09/17/2014 10:30 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:02 AM, Kornel Benko wrote: Am Mittwoch, 17. September 2014 um 09:06:00, schrieb

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Kornel Benko
Am Mittwoch, 17. September 2014 um 13:49:20, schrieb Richard Heck > On 09/17/2014 11:04 AM, Scott Kostyshak wrote: > > On Wed, Sep 17, 2014 at 10:32 AM, Richard Heck wrote: > >> On 09/17/2014 10:30 AM, Scott Kostyshak wrote: > >>> On Wed, Sep 17, 2014 at 10:02

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Scott Kostyshak
On Wed, Sep 17, 2014 at 1:49 PM, Richard Heck wrote: > On 09/17/2014 11:04 AM, Scott Kostyshak wrote: >> >> On Wed, Sep 17, 2014 at 10:32 AM, Richard Heck wrote: >>> >>> On 09/17/2014 10:30 AM, Scott Kostyshak wrote: On Wed, Sep 17, 2014 at 10:02 AM,

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Richard Heck
On 09/17/2014 03:02 PM, Scott Kostyshak wrote: Are there any ideas for the message? Without thinking much, I will throw out: "xyz finished with an error. This was not previously reported in LyX so compilation is allowed to continue, but starting with LyX 2.2.0 this warning message will become

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-17 Thread Scott Kostyshak
On Wed, Sep 17, 2014 at 4:14 PM, Richard Heck wrote: > On 09/17/2014 03:02 PM, Scott Kostyshak wrote: >> >> Are there any ideas for the message? Without thinking much, I will throw >> out: "xyz finished with an error. This was not previously reported in LyX so >> compilation is

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-15 Thread Scott Kostyshak
On Sat, Sep 13, 2014 at 12:56 PM, Kornel Benko kor...@lyx.org wrote: Am Samstag, 13. September 2014 um 11:22:34, schrieb Scott Kostyshak skost...@lyx.org On Fri, Sep 12, 2014 at 8:53 AM, Scott Kostyshak skost...@lyx.org wrote: Systemcall::startscript returns the exit code of the LaTeX

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-15 Thread Kornel Benko
Am Montag, 15. September 2014 um 14:48:32, schrieb Scott Kostyshak skost...@lyx.org On Sat, Sep 13, 2014 at 12:56 PM, Kornel Benko kor...@lyx.org wrote: Am Samstag, 13. September 2014 um 11:22:34, schrieb Scott Kostyshak skost...@lyx.org On Fri, Sep 12, 2014 at 8:53 AM, Scott Kostyshak

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-15 Thread Scott Kostyshak
On Sat, Sep 13, 2014 at 12:56 PM, Kornel Benko wrote: > Am Samstag, 13. September 2014 um 11:22:34, schrieb Scott Kostyshak > >> On Fri, Sep 12, 2014 at 8:53 AM, Scott Kostyshak wrote: >> > Systemcall::startscript returns the exit code of the

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-15 Thread Kornel Benko
Am Montag, 15. September 2014 um 14:48:32, schrieb Scott Kostyshak > On Sat, Sep 13, 2014 at 12:56 PM, Kornel Benko wrote: > > Am Samstag, 13. September 2014 um 11:22:34, schrieb Scott Kostyshak > > > >> On Fri, Sep 12, 2014 at 8:53 AM,

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-13 Thread Scott Kostyshak
On Fri, Sep 12, 2014 at 8:53 AM, Scott Kostyshak skost...@lyx.org wrote: Systemcall::startscript returns the exit code of the LaTeX command that is run, but the return value was not being checked by LaTeX::run. It is now checked and if the exit code is non-zero, it is returned immediately.

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-13 Thread Kornel Benko
Am Samstag, 13. September 2014 um 11:22:34, schrieb Scott Kostyshak skost...@lyx.org On Fri, Sep 12, 2014 at 8:53 AM, Scott Kostyshak skost...@lyx.org wrote: Systemcall::startscript returns the exit code of the LaTeX command that is run, but the return value was not being checked by

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-13 Thread Scott Kostyshak
On Fri, Sep 12, 2014 at 8:53 AM, Scott Kostyshak wrote: > Systemcall::startscript returns the exit code of the LaTeX command > that is run, but the return value was not being checked by > LaTeX::run. It is now checked and if the exit code is non-zero, > it is returned

Re: [PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-13 Thread Kornel Benko
Am Samstag, 13. September 2014 um 11:22:34, schrieb Scott Kostyshak > On Fri, Sep 12, 2014 at 8:53 AM, Scott Kostyshak wrote: > > Systemcall::startscript returns the exit code of the LaTeX command > > that is run, but the return value was not being checked by

[PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-12 Thread Scott Kostyshak
code where before it gave a zero exit code. Any thoughts? See my other email for a use case. Scott From 477e30e21144e61138213116414ed4197fa8f7d8 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak skost...@lyx.org Date: Fri, 12 Sep 2014 08:05:43 -0400 Subject: [PATCH] Check exit code of LaTeX process

[PATCH] Check exit code of LaTeX process in LaTeX::run

2014-09-12 Thread Scott Kostyshak
eX failed" and a non-zero exit code where before it gave a zero exit code. Any thoughts? See my other email for a use case. Scott From 477e30e21144e61138213116414ed4197fa8f7d8 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak <skost...@lyx.org> Date: Fri, 12 Sep 2014 08:05:43 -0400 Subje