Open process woes

Jeff Massung massung at
Sat Jun 5 18:58:19 EDT 2010

I'm having an interesting issue with opening a process that I'm hoping
someone here has a thought or two about. I don't want to go into gory
details, because - for the most part - they don't matter. Suffice to say:

I'm on OS X.

If I open a Terminal and type my process command (/usr/local/bin/...
-cmdargs) then the process executes and works perfectly, just as
expected. If I use open process and do the exact same thing, the process
executes (it spawns and spits output), but is slightly different. It fails
to run properly, not finding various bits of data and such.

My guess is that when I use "open process" that the user isn't the same
user, or the bash shell is different, or something of that nature. I can't
seem to find anything in the documentation except a user-added note in the
shell() function that the $PATH variable may not be correct since bash sets
it (and we haven't actually run bash).

Any ideas?

Jeff M.

More information about the Use-livecode mailing list