On 07/06/2013 09:23 AM, Guy Rutenberg wrote:
Hi,

On 5 July 2013 10:54, Scott Kostyshak <skost...@lyx.org <mailto:skost...@lyx.org>> wrote:


    I think that the part that actually runs system commands is in:
    src/support/Systemcall.cpp


I've created a patch to fix it. Stats:

 src/support/Systemcall.cpp      |   26 ++++++++++++++++----------
 src/support/SystemcallPrivate.h |    2 +-
 2 files changed, 17 insertions(+), 11 deletions(-)

Basically, what I did was to add a new parameter to SystemcallPrivate::startProcess() to tell if we should detach. If so, I'm calling QProcess::startDetached instead of QProcess::start().

Who knows this code well enough to comment?

Richard

Reply via email to