mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 00:30:34 +02:00
* use "open" rather than xterm for poNewConsole on Darwin (patch by
Dmitry Boyarintsev, fixes mantis #14957) git-svn-id: trunk@14000 -
This commit is contained in:
parent
c2e749797b
commit
ab9980967f
@ -160,6 +160,9 @@ begin
|
||||
CommandToList(Cmd,S);
|
||||
if poNewConsole in P.Options then
|
||||
begin
|
||||
{$ifdef darwin}
|
||||
S.Insert(0,'open');
|
||||
{$else}
|
||||
S.Insert(0,'-e');
|
||||
If (P.ApplicationName<>'') then
|
||||
begin
|
||||
@ -172,6 +175,7 @@ begin
|
||||
S.Insert(0,'-geometry');
|
||||
end;
|
||||
S.Insert(0,'xterm');
|
||||
{$endif}
|
||||
end;
|
||||
if (P.ApplicationName<>'') then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user