Skip to content

Commit 839df82

Browse files
committed
Multi: When spawning shell for background commands, remove "__daemon" var (used by pixl-server).
1 parent bae34ac commit 839df82

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/multi.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ class Multi {
264264
try {
265265
child = cp.spawn( "bin/control.sh", data.commands, {
266266
cwd: process.cwd(),
267+
env: Tools.copyHashRemoveKeys( process.env, { __daemon: 1 } ),
267268
detached: true,
268269
stdio: ['ignore', fd, fd]
269270
} );

0 commit comments

Comments
 (0)