summary refs log tree commit diff stats
path: root/nim/nimrod.pas
diff options
context:
space:
mode:
Diffstat (limited to 'nim/nimrod.pas')
-rw-r--r--nim/nimrod.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/nim/nimrod.pas b/nim/nimrod.pas
index d197a3448..99d9a9d0f 100644
--- a/nim/nimrod.pas
+++ b/nim/nimrod.pas
@@ -93,7 +93,8 @@ begin
     }
     end;
     if optRun in gGlobalOptions then
-      execExternalProgram(changeFileExt(filename, '') +{&} ' ' +{&} arguments)
+      execExternalProgram(quoteIfContainsWhite(changeFileExt(filename, '')) +{&}
+                         ' ' +{&} arguments)
   end
 end;