|Apr 7, 2007, 06:12 PM||#1|
NSTask environment variables
How can I set the environment variables for an NSTask?
I want the task to be able to see DISPLAY to connect to an X server.
Andrew J. Brehm
|Apr 7, 2007, 06:26 PM||#2|
Did you even read the documentation before asking? Obviously you might want to read the current environment and add the variable you want to that dictionary to set...
Sponsor me to cycle 100Km round London in the dark
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Is it possible to run NSTask as user ?||GokulKrish||Mac Programming||1||Apr 12, 2014 09:07 AM|
|NSTask Not terminating.||DavidBlack||Mac Programming||5||Aug 3, 2013 09:07 PM|
|Help again :( Global Variables.||resetme||iPhone/iPad Programming||14||Dec 28, 2012 03:20 PM|
|Altering environment variables||msjones||OS X 10.8 Mountain Lion||7||Nov 19, 2012 12:29 PM|
|Environment variables no longer available on OS X in a LoginHook script?||iMusings||Mac Applications and Mac App Store||1||Jul 24, 2012 08:48 PM|
All times are GMT -5. The time now is 07:25 AM.