-
Notifications
You must be signed in to change notification settings - Fork 38k
Closed
Labels
Milestone
Description
vscode/src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts
Lines 1378 to 1387 in 7152aa5
| cwd = process.cwd(); | |
| } | |
| const dir = path.dirname(command); | |
| if (dir !== '.') { | |
| // We have a directory and the directory is relative (see above). Make the path absolute | |
| // to the current working directory. | |
| return path.join(cwd, command); | |
| } | |
| if (paths === undefined && Types.isString(process.env.PATH)) { | |
| paths = process.env.PATH.split(path.delimiter); |
I'm planning on copying this function to the terminal contrib for #76349, so maybe tasks can use that?
Reactions are currently unavailable