From 67124a4104c42dcf0a50a89be8b7e6c68f4d76eb Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Wed, 10 Jan 2018 08:15:49 +0000 Subject: [PATCH] datamode viewer : fix lifecycle image generation on Windows. (Error: "C:/Program does not exist") SVN:trunk[5222] --- pages/graphviz.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/graphviz.php b/pages/graphviz.php index 4aaa0791c..608026424 100644 --- a/pages/graphviz.php +++ b/pages/graphviz.php @@ -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)