From 03042bfb7ddd285e6bec5ae3e060578faa4aa801 Mon Sep 17 00:00:00 2001 From: juha Date: Wed, 26 Sep 2018 08:37:19 +0000 Subject: [PATCH] Split command line parameters also when "Run without Debugging". Patch by Ondrej. git-svn-id: trunk@59168 - --- ide/main.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ide/main.pp b/ide/main.pp index fbbc4d0a07..29860fa7ce 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -7206,7 +7206,8 @@ begin SplitCmdLine(ExeCmdLine,ExeFile,Params); Process.Executable := ExeFile; - Process.Parameters.Text := Params; + if Params<>'' then + CommandToList(Params, Process.Parameters); ARunMode := Project1.RunParameterOptions.GetActiveMode; if RunAppBundle and FileExistsUTF8(Process.Executable)