Permalink
Switch branches/tags
Nothing to show
Commits on Apr 1, 2011
  1. Fixed process environment not being inherited

    philippm committed Apr 1, 2011
    By default an NSTask instance inherits the environment -- including critical variables such as $PATH -- from its calling parent process.
    
    However, 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.
    
    As a result commands that themselves run commands without absolute paths (notably scripts) will raise command not found errors.
    
    Fixed by explicitly setting the NSTask instance to inherit the parent process environment.
Commits on Feb 4, 2011
  1. Added example

    philippm committed Feb 4, 2011
  2. Added BETaskHelper

    philippm committed Feb 4, 2011