0

Are the environment variables of a process running on a modern OS X system accessible to other processes? If so, is this information accessible only to the same user and root?

This answer from Gilles for the same question, except applied to Linux, is exactly the sort of answer I'm looking for here.

1 Answer 1

1

There's no difference in how the environment behaves between Linux and OS X, which is a UNIX system.

1
  • There are multiple Linux specifics in that answer ('/proc', memory map code). I'm not willing to take it on faith that because they're both UNIX-like, OS X will be the same. Was hoping for a more detailed answer.
    – jacobsa
    Commented Jan 1, 2016 at 20:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .