mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Quote the command to run the mapserver exporter to deal with paths containing spaces on Windows.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6253 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
028db9b88d
commit
59a45d24f0
@ -3239,6 +3239,10 @@ void QgisApp::exportMapServer()
|
||||
//{
|
||||
QString myMSExportPath = QgsApplication::msexportAppPath();
|
||||
QProcess *process = new QProcess;
|
||||
#ifdef WIN32
|
||||
// quote the application path on windows
|
||||
myMSExportPath = QString("\"") + myMSExportPath + QString("\"");
|
||||
#endif
|
||||
process->start(myMSExportPath);
|
||||
|
||||
// Delete this object if the process terminates
|
||||
|
Loading…
x
Reference in New Issue
Block a user