Skip to content
Permalink
Browse files

Quote the command to run the mapserver exporter to deal with paths co…

…ntaining spaces on Windows.

git-svn-id: http://svn.osgeo.org/qgis/trunk@6253 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman
gsherman committed Dec 15, 2006
1 parent 028db9b commit 59a45d24f0c01ad93bf2faefb6060330a75e3dc1
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/qgisapp.cpp
@@ -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

0 comments on commit 59a45d2

Please sign in to comment.
You can’t perform that action at this time.