Is there a way to invoke a shell script on my Mac from a react native app I'm writing? Like, maybe through Handoff, or Bonjour, or something?
Write a LaunchDaemon plist that invokes it on TCP connsction. Don’t see why it wouldn’t work, seems like the simplest possible solution.
-
-
Do you have any links to docs or examples for this approach? This sounds perfect.
- End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.