Skip to content

Commit

Permalink
TerminalTaskSystem: Add support for nushell
Browse files Browse the repository at this point in the history
so that it won't fallback to have extra "/d /c" arguments added
  • Loading branch information
dylanchu committed Jan 22, 2025
1 parent 27c4a29 commit a390ce6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,10 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
if (!shellSpecified) {
toAdd.push('-e');
}
} else if (basename === 'nu.exe') {
if (!shellSpecified) {
toAdd.push('-c');
}
} else {
if (!shellSpecified) {
toAdd.push('/d', '/c');
Expand Down

0 comments on commit a390ce6

Please sign in to comment.