Skip to content

Commit 2d5bd74

Browse files
committed
fix: tray-launched subprocesses have no HOME
this can result in random files (such as .kube/cache) appearing in your CWD
1 parent 5dd1d2e commit 2d5bd74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/plugin-codeflare/src/controller/respawn.ts

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export default function respawnCommand(cmdline: string | string[]) {
3232
ELECTRON_RUN_AS_NODE: "true",
3333
GUIDEBOOK_STORE: process.env.GUIDEBOOK_STORE || "",
3434
DEBUG: process.env.DEBUG || "",
35+
HOME: process.env.HOME || "",
3536
PATH: process.env.PATH || "",
3637
KUBECONFIG: process.env.KUBECONFIG || "",
3738
},

0 commit comments

Comments
 (0)