Skip to content

Commit 7379d5a

Browse files
committed
set PATH when forking
1 parent da08e50 commit 7379d5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cli-v3/src/executions/taskRunProcess.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export class TaskRunProcess {
123123
OTEL_IMPORT_HOOK_INCLUDES: workerManifest.otelImportHook?.include?.join(","),
124124
// TODO: this will probably need to use something different for bun (maybe --preload?)
125125
NODE_OPTIONS: execOptionsForRuntime(workerManifest.runtime, workerManifest),
126+
PATH: process.env.PATH,
126127
};
127128

128129
logger.debug(`[${this.runId}] initializing task run process`, {

0 commit comments

Comments
 (0)