> But the open command doesn't allow you to pass the environment
Uh? I’ve been using open to pass NSZombieEnabled and other debugging stuff to apps all the time and it works.
From man open(1):
Opened applications inherit environment variables just
as if you had launched the application directly through
its full path. This behavior was also present in Tiger.
What?! Awesome! I would swear that was once not the case... (checks man page)
Opened applications inherit environment variables just
as if you had launched the application directly through
its full path. This behavior was also present in *Tiger*.
Uh? I’ve been using open to pass NSZombieEnabled and other debugging stuff to apps all the time and it works.
From man open(1):