Skip to content

Commit

Permalink
Remove shell when calling spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
ekse authored and HerringtonDarkholme committed Nov 15, 2024
1 parent 9775f5a commit 25c09ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/extension/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ export function buildCommand(query: SearchQuery) {
// TODO: multi-workspaces support
return spawn(command, args, {
cwd: uris[0],
shell: process.platform === 'win32', // it is safe because it is end user input
})
}

Expand Down

0 comments on commit 25c09ae

Please sign in to comment.