B4J Question Shell for Mac

derez

Expert
Licensed User
Longtime User
How do I write a shell command to open Chrome in Macos like this is done in windows:
B4X:
lst.Add(link)
shl.Initialize("shl","C:\Program Files (x86)\Google\Chrome\Application\chrome.exe",lst)

This opens safari when I write it in the terminal "open -a Safari" , but not from shell. Chrome does not open from terminal.
 
Last edited:

derez

Expert
Licensed User
Longtime User
I solved the need by using a Webview but it will still be nice to know the answer.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…