ptmt / react-native-macos

[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
MIT License
11.25k stars 429 forks source link

Invoke shell command #190

Closed mirkods closed 6 years ago

mirkods commented 6 years ago

Hi there, how can I invoke a shell command on my mac?

Mirko

ptmt commented 6 years ago

You'll need to add a native module. This is an example: https://github.com/ptmt/ratpack/commit/d1c2b2e90228f63629bb8714c4b941a9411a2438

Let me know if I can help you to set up this in your project

mirkods commented 6 years ago

Thanks for you response @ptmt, I haven't experience with the native module if you can help me will be fine

mirkods commented 6 years ago

After some tests looking for your module I implemented my first native module 👍 Thanks for your example @ptmt