From e28c6f4d9501e9707d5b6be42b9f557293785936 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Mon, 29 Aug 2011 22:15:24 +0000 Subject: [PATCH] Allow batch files with QProcess. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39566 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/Systemcall.cpp | 5 ++++- status.20x | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp index e4fa5b2559..741feb2338 100644 --- a/src/support/Systemcall.cpp +++ b/src/support/Systemcall.cpp @@ -302,7 +302,10 @@ void SystemcallPrivate::startProcess(QString const & cmd, string const & path) setEnv("TEXINPUTS", prefix + texinputs_); } state = SystemcallPrivate::Starting; - process_->start(cmd_); + if (os::shell() == os::CMD_EXE) + process_->start(QLatin1String("cmd /d /c ") + cmd_); + else + process_->start(cmd_); } } diff --git a/status.20x b/status.20x index 165c18197e..9dabce6d1e 100644 --- a/status.20x +++ b/status.20x @@ -261,6 +261,8 @@ What's new - On Windows, fix configuration failure when shell autorun commands are are enabled in the registry (bug 7718). +- On Windows, allow using again batch files as converters. + * ADVANCED FIND AND REPLACE -- 2.39.5