startlazarus: fixed regression starting lazarus, issue , Cyrax

git-svn-id: trunk@60577 -
This commit is contained in:
mattias 2019-03-04 08:00:47 +00:00
parent bb2ef7b609
commit 99c565049a

View File

@ -429,8 +429,8 @@ begin
FProcess.Options := [];
FProcess.ShowWindow := swoShow;
Params:=TStringListUTF8.Create;
Params.Add(LazarusPath);
SplitCmdLineParams(CommandLine,Params);
FProcess.Executable:=LazarusPath;
FProcess.Parameters:=Params;
Params.Free;
if (EnvOverrides<>nil) and (EnvOverrides.Count>0) then