fix(FN-4642): preserve host env for container streaming runtime
Fusion-Task-Id: FN-4642 Fusion-Task-Lineage: a42a36f8-2d2a-43fe-b7c1-d7cf1ad321c3
This commit is contained in:
committed by
gsxdsm
parent
d8768a280f
commit
bf8c9b7af7
@@ -158,7 +158,10 @@ export class ContainerSandboxBackend implements SandboxBackend {
|
||||
const child = spawn(argv[0]!, argv.slice(1), {
|
||||
cwd: options.cwd,
|
||||
stdio: ["ignore", "pipe", "pipe"],
|
||||
env: options.env,
|
||||
env: {
|
||||
...process.env,
|
||||
...(options.env ?? {}),
|
||||
},
|
||||
});
|
||||
|
||||
let stdout = "";
|
||||
|
||||
Reference in New Issue
Block a user