Using launch command with LiveCode Server

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Using launch command with LiveCode Server

Post by mwieder » 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.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Using launch command with LiveCode Server

Post by FourthWorld » Thu Feb 02, 2023 9:16 pm

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”