datamode viewer : fix lifecycle image generation on Windows. (Error: "C:/Program does not exist")

SVN:trunk[5222]
This commit is contained in:
Stephen Abello
2018-01-10 08:15:49 +00:00
parent 174bcf56d3
commit 67124a4104

View File

@@ -135,7 +135,7 @@ if (file_exists($sDotExecutable))
@fwrite($rFile, $sDotDescription);
@fclose($rFile);
$aOutput = array();
$CommandLine = "$sDotExecutable -v -Tpng < $sDotFilePath -o$sImageFilePath 2>&1";
$CommandLine = "\"$sDotExecutable\" -v -Tpng < \"$sDotFilePath\" -o \"$sImageFilePath\" 2>&1";
exec($CommandLine, $aOutput, $iRetCode);
if ($iRetCode != 0)