Add $PATH variable via Cocoa App

Posted by golfromeo on Stack Overflow See other posts from Stack Overflow or by golfromeo
Published on 2010-06-04T23:11:26Z Indexed on 2010/06/05 7:52 UTC
Read the original article Hit count: 239

Filed under:

I'm trying to write a Cocoa app that makes it easier for Android developers on Macs to create Android apps.

When a user presses a button on the app, I want it to add a certain directory to the environmental $PATH variable on the Mac.

Is there another way to do this via Cocoa instead of opening up the .bash_profile file and adding the path manually?

Thanks for any help in advance.

© Stack Overflow or respective owner

Related posts about cocoa