Skip to content

Commit

Permalink
Merge pull request #95 from s2quake/fix/new-pwsh-windows
Browse files Browse the repository at this point in the history
Fix an issue where a pwsh process failed to start
  • Loading branch information
s2quake authored Nov 28, 2024
2 parents 3e89951 + e25a607 commit 87ae726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/console/LibplanetConsole.Console/ProcessBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ private ProcessStartInfo GetProcessStartInfoOnMacOS()
private ProcessStartInfo GetProcessStartInfoOnWindows()
{
var filename = $"\"{GetFileName()}\"";
var arguments = CommandUtility.Join(GetArguments()).Replace("\"", "`\"");
var arguments = CommandUtility.Join(GetArguments());
var scriptList = new List<string>
{
$"Invoke-Expression '& {filename} {arguments}'",
Expand Down

0 comments on commit 87ae726

Please sign in to comment.