Skip to content

Commit

Permalink
Quote the command to run the mapserver exporter to deal with paths co…
Browse files Browse the repository at this point in the history
…ntaining spaces on Windows.

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

0 comments on commit 59a45d2

Please sign in to comment.