Open process

Scott Raney raney at
Mon Mar 24 17:24:01 EST 2003

On Sat, 22 Mar 2003 <swedentom at> wrote:

> Hey,
> This is my script:
> on mouseup
>    open process "/bin/date"
> end mouseup
> Why do I get error -50 as the result?

Because you can't start up UNIX processes with "launch" or "open
process" on Mac OS X, you can only use them with shell().  Which as it
turns out is the only thing that would make any sense with simple
programs like "/bin/date" anyway because that program doesn't support

We may eventually need to add an option to "open process" on OS X to
allow this, but for now it's one of those messy areas that's still
stuck in the "MacOS compatibility" box.

> Tomas Franzén
> Lighthead Software

Scott Raney  raney at
MetaCard: You know, there's an easier way to do that...

More information about the use-livecode mailing list