Erlang/OTP Forums

Author Message

<  Erlang patches mailing list  ~  fix for open_port env vars with trailing '=' characters

Guest
Posted: Wed Apr 21, 2010 6:26 pm Reply with quote
Guest
Passing {env, Env} to open_port with an environment variable value
containing a trailing '=' character results in the variable not being
set into the environment of the new process. Affects only UNIX as far
as I can see. Here's a fix:

git fetch git://github.com/vinoski/otp.git env_with_equal_sign

For more details, here's the full commit message:

http://github.com/vinoski/otp/commit/0a6db8663b5558c152a351075bff296733bd3a0d

--steve

________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
Guest
Posted: Wed Apr 21, 2010 6:26 pm Reply with quote
Guest
Passing {env, Env} to open_port with an environment variable value
containing a trailing '=' character results in the variable not being
set into the environment of the new process. Affects only UNIX as far
as I can see. Here's a fix:

git fetch git://github.com/vinoski/otp.git env_with_equal_sign

For more details, here's the full commit message:

http://github.com/vinoski/otp/commit/0a6db8663b5558c152a351075bff296733bd3a0d

--steve

________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum