You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is surprising and different from the spawn behavior. It's also not quite what we always want given it's common for API keys and secrets to be available in the process.env.
its to cover the common use case. most users do indeed want to inherit the process env because thats how npm scripts and such work.
we have to be very careful introducing new options though so this needs some thought. as its a slippery slope to being just as bloated as the alternatives.
an inheritEnv or something may work but i think i need to ponder on it for a bit.
Activity
43081j commentedon Jul 14, 2026
its to cover the common use case. most users do indeed want to inherit the process env because thats how npm scripts and such work.
we have to be very careful introducing new options though so this needs some thought. as its a slippery slope to being just as bloated as the alternatives.
an
inheritEnvor something may work but i think i need to ponder on it for a bit.