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/qgis@6253 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman
gsherman committed Dec 15, 2006
1 parent 28031d2 commit 8bccad4c8ab9a6b8253ad9a30fc9c98bc7f1ca2e
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 8bccad4

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