Skip to content

Commit

Permalink
(#470) Execute powershell command with '-noprofile'
Browse files Browse the repository at this point in the history
  • Loading branch information
jibedoubleve committed Jan 15, 2024
1 parent 472a1a2 commit 04e9b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lanceur/ReservedKeywords/ShellCommandAlias.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public override async Task<IEnumerable<QueryResult>> ExecuteAsync(Cmdline cmdlin
var psi = new ProcessStartInfo
{
FileName = "Powershell.exe",
Arguments = cmdline.Parameters,
Arguments = $"-noprofile {cmdline.Parameters}",
CreateNoWindow = true,
UseShellExecute = false,
RedirectStandardOutput = true,
Expand Down

0 comments on commit 04e9b93

Please sign in to comment.