- aggiunta virgolette su lancio editor con file da aprire
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -46,7 +46,7 @@ function RunMachiningParamEdit.Exec()
|
||||
|
||||
-- apro programma di edit
|
||||
local sEditProgPath = EgtGetStringFromIni( '3dPrinting', 'MachiningEditProg', "", EgtGetIniFile())
|
||||
if not sEditProgPath or not EgtWinExec( sEditProgPath .. ' ' .. sSelMachiningPath) then
|
||||
if not sEditProgPath or not EgtWinExec( '"'..sEditProgPath..'" "'.. sSelMachiningPath..'"') then
|
||||
EgtOutBox( 'Impossible opening software to show Machining. You can find it in ' .. sSelMachiningPath, 'Error', 'ERROR')
|
||||
end
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ function RunMaterialParamEdit.Exec()
|
||||
|
||||
-- apro programma di edit
|
||||
local sEditProgPath = EgtGetStringFromIni( '3dPrinting', RESULT_READ_PROG, "", EgtGetIniFile())
|
||||
if not sEditProgPath or not EgtWinExec( sEditProgPath .. ' ' .. sSelMaterialPath) then
|
||||
if not sEditProgPath or not EgtWinExec( '"'..sEditProgPath..'" "'..sSelMaterialPath..'"') then
|
||||
EgtOutBox( 'Impossible opening software to show Material. You can find them it in ' .. sSelMaterialPath, 'Error', 'ERROR')
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user