MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Help: running external program on Mac OS X

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64773] Re: Help: running external program on Mac OS X
  • From: "ragfield" <ragfield at gmail.com>
  • Date: Thu, 2 Mar 2006 19:27:45 -0500 (EST)
  • References: <du6noo$5o1$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

There are a couple of solutions here.

1.  Use the full executable path rather than rely on $PATH

2.  Set up your path environment variable so it is picked up by
non-shell processes.  When you run the Mathematica kernel from within
the Mathematica notebook front end, the kernel inherits its environment
from the front end.  The front end (when you launch it from the Dock or
Finder) inherits its environment from loginwindow process, which is not
a shell and does not read shell resource files on startup.  The way to
get all processes (both shell & non-shell) to inherit an environment
variable is to set up the variable in the ~/.MacOSX/environment.plist
file, as described here
<http://developer.apple.com/qa/qa2001/qa1067.html>.

-Rob


  • Prev by Date: Re: No mesh with Graphics3D
  • Next by Date: Unprotecting "I"
  • Previous by thread: Help: running external program on Mac OS X
  • Next by thread: Re: Help: running external program on Mac OS X