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:
gsherman 2006-12-15 07:34:37 +00:00
parent 028db9b88d
commit 59a45d24f0

View File

@ -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