- aggiunta virgolette su lancio editor con file da aprire

This commit is contained in:
Emmanuele Sassi
2022-05-20 11:22:20 +02:00
parent 33e461b914
commit e1b61d3399
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ function RunMachiningParamCalc.Exec()
end
file:close()
local sReadProgPath = EgtGetStringFromIni( '3dPrinting', RESULT_READ_PROG, "", EgtGetIniFile())
if not sReadProgPath or not EgtWinExec( sReadProgPath .. ' ' .. sResultFile) then
if not sReadProgPath or not EgtWinExec( '"'..sReadProgPath..'" "'..sResultFile..'"') then
EgtOutBox( 'Impossible opening software to show results. You can find them in ' .. sResultFile, 'Error', 'ERROR')
end
else