feat(plugin): pass sessionID and callID to shell.env hook input (#13662)
This commit is contained in:
parent
de25703e9d
commit
1aa18c6cd6
1 changed files with 6 additions and 3 deletions
|
|
@ -1618,7 +1618,7 @@ NOTE: At any point in time through this workflow you should feel free to ask the
|
|||
const args = matchingInvocation?.args
|
||||
|
||||
const cwd = Instance.directory
|
||||
const shellEnv = await Plugin.trigger("shell.env", { cwd }, { env: {} })
|
||||
const shellEnv = await Plugin.trigger("shell.env", { cwd, sessionID: input.sessionID, callID: part.callID }, { env: {} })
|
||||
const proc = spawn(shell, args, {
|
||||
cwd,
|
||||
detached: process.platform !== "win32",
|
||||
|
|
|
|||
Loading…
Reference in a new issue