{"shas":[["603a81315923b01cd3e8ede03b8fd3dba723e468","7aa2b466eef8222f66a6ce3eb05355785a4c9dc5@incrediblebee.com","Fixed process environment not being inherited\n\nBy default an NSTask instance inherits the environment -- including critical variables such as $PATH -- from its calling parent process.\n\nHowever, when setting a custom environment via setEnvironment: the NSTask instance uses only the variables from that custom environment, and no longer inherits the parent process environment.\n\nAs a result commands that themselves run commands without absolute paths (notably scripts) will raise command not found errors.\n\nFixed by explicitly setting the NSTask instance to inherit the parent process environment.","philippm"]],"repo":"incbee/BETaskHelper","actor":"philippm","ref":"refs/heads/master","size":1,"head":"603a81315923b01cd3e8ede03b8fd3dba723e468","actor_gravatar":"b480ce8cd1cd60992f3e649750cd1288","push_id":28082804}