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
I'm writing a reproc binding to lua, from what I tested REPROC_ENV_EXTEND does not allow me to replace existing envvars. Is this an explicit design decision or is it a bug?
An example of replacing existing envvars would be trying to append to PATH.
The text was updated successfully, but these errors were encountered:
I didn't consider this when implementing REPROC_ENV_EXTEND. I'm not entirely sure what the behaviour is on all of the supported platforms when the environment block contains the same environment variable multiple times. Wouldn't the last occurrence override earlier occurrences? If so, would that suffice to replace environment variables? Let me know if this doesn't work as expected.
I'm writing a reproc binding to lua, from what I tested
REPROC_ENV_EXTEND
does not allow me to replace existing envvars. Is this an explicit design decision or is it a bug?An example of replacing existing envvars would be trying to append to
PATH
.The text was updated successfully, but these errors were encountered: