Skip to content

Commit

Permalink
fix: Fix an issue where creating a new terminal fails
Browse files Browse the repository at this point in the history
  • Loading branch information
s2quake committed Nov 28, 2024
1 parent a2918aa commit e612989
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .submodules/lib9c
Submodule lib9c added at f2c372
14 changes: 8 additions & 6 deletions src/console/LibplanetConsole.Console/ProcessBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,15 @@ private ProcessStartInfo GetProcessStartInfoOnMacOS()
FileName = "/usr/bin/osascript",
ArgumentList =
{
"-e",
"tell application \"Terminal\"",
"-e",
$"-e",
$"tell application \"Terminal\"",
$"-e",
$" activate",
$"-e",
$" delay 1",
$"-e",
$" do script \"{filename} {arguments}; exit\"",
"-e",
$"activate",
"-e",
$"-e",
$"end tell",
},
};
Expand Down

0 comments on commit e612989

Please sign in to comment.