A ajbrehm macrumors 6502 Original poster Apr 7, 2007 #1 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.
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.
robbieduncan Moderator emeritus Apr 7, 2007 #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...
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...