Hot to start Shell with path from App

Hello

I need to start an attached resource in relation of the started App (Desktop Mac) by a Shell command. Based on the shell doc I tried this:

Var s As Shell s = New Shell s.Execute("ls") Console.Value = s.Result

Output:
Applications
Library
Preboot
System
Users
Volumes
bin
cores
dev
etc
home
opt
private
sbin
tmp
usr
var

Command “pwd” shows: a slash (/)

How can I advice the shell (command) to start with the path from the App? From there I could then easy find the script I want to execute like: …/Resources/myscript

Problem on Mac (Catalina), Desktop

I could find a workaround:

Var PathAndFile As New FolderItem( SpecialFolder.Resources.child("script_to_execute") )

See all SpecialFoder here

Still thinking Shell should start from the path where the App was executed (located). It makes no sense to head to main (as there is nothing to execute and no one is doing something there).