Skip to content

Commit

Permalink
Fix an issue where a pwsh process filaed to start
Browse files Browse the repository at this point in the history
  • Loading branch information
s2quake committed Nov 28, 2024
1 parent 3e89951 commit e25a607
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 e25a607

Please sign in to comment.