Page 2 of 2

Re: Using launch command with LiveCode Server

Posted: Thu Feb 02, 2023 6:30 pm
by mwieder
Fun fact: on linux the launch command uses $PATH, so

launch "xed"
does the same as
launch "/usr/bin/xed"

Not sure why that doesn't work on OSX.

Re: Using launch command with LiveCode Server

Posted: Thu Feb 02, 2023 9:16 pm
by FourthWorld
mwieder wrote: Thu Feb 02, 2023 6:30 pm Fun fact: on linux the launch command uses $PATH, so

launch "xed"
does the same as
launch "/usr/bin/xed"

Not sure why that doesn't work on OSX.
I'm guessing it relates to the centrality of the metadata needed for $PATH.

Only apps in specific file system locations get automatically added to $PATH.

Mac GUI apps store their metadata within their own bundle, which would place an onerous obligation on the OS to maintain awareness of as apps are added, moved, and deleted.