We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d8580 commit 195be1fCopy full SHA for 195be1f
src/Files.App/Actions/Content/Run/RunWithPowershellAction.cs
@@ -31,7 +31,7 @@ public RunWithPowershellAction()
31
32
public Task ExecuteAsync(object? parameter = null)
33
{
34
- return Win32Helper.RunPowershellCommandAsync($"{context.ShellPage?.SlimContentPage?.SelectedItem?.ItemPath}", PowerShellExecutionOptions.None);
+ return Win32Helper.RunPowershellCommandAsync($"& '{context.ShellPage?.SlimContentPage?.SelectedItem?.ItemPath}'", PowerShellExecutionOptions.None);
35
}
36
37
private void Context_PropertyChanged(object? sender, PropertyChangedEventArgs e)
0 commit comments