mirror of https://gitlab.com/basile.b/dexed.git
runnable module output not deleted if file is not in temp dir
This commit is contained in:
parent
ed5dab39e9
commit
2f8a485e4f
|
@ -676,6 +676,8 @@ begin
|
||||||
exit;
|
exit;
|
||||||
//
|
//
|
||||||
fname := fRunProc.Executable;
|
fname := fRunProc.Executable;
|
||||||
|
if ExtractFileDir(fname) <> GetTempDir(false) then
|
||||||
|
exit;
|
||||||
killProcess(fRunProc);
|
killProcess(fRunProc);
|
||||||
if fileExists(fname) then
|
if fileExists(fname) then
|
||||||
sysutils.DeleteFile(fname);
|
sysutils.DeleteFile(fname);
|
||||||
|
|
Loading…
Reference in New Issue