* fixed compilation of 2.7.1, this component used a function that has been deprecated since 2007

git-svn-id: trunk@37315 -
This commit is contained in:
marco 2012-05-18 12:28:58 +00:00
parent 42eb73c8a5
commit 96616afa61

View File

@ -148,7 +148,7 @@ begin
ShellApi.ShellExecute(0, 'open', PChar(FileName), PChar(Parameters), nil, SW_SHOW);
{$endif}
{$ifdef unix}
Shell(format('%s %s',[FileName, Parameters]));
fpsystem(format('%s %s',[FileName, Parameters]));
{$endif}
end;