A ajbrehm macrumors 6502 Original poster Aug 14, 2002 341 0 Zurich, Switzerland 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 Jul 24, 2002 25,611 893 Harrogate 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...