How to execute dos commands in react-native-windows? #10500
-
I want to use react native to execute dos commands. Can any package or method to implement it? |
Beta Was this translation helpful? Give feedback.
Answered by
chrisglein
Sep 6, 2022
Replies: 1 comment 1 reply
-
There's nothing I'm aware of in RNW that is going to help you directly with executing terminal commands (which is what I assume you mean by DOS commands). Your best bet is to find what you're looking for from the general UWP APIs, and then figure out how you want to access that from JavaScript. Start here: https://microsoft.github.io/react-native-windows/docs/native-code |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chrisglein
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's nothing I'm aware of in RNW that is going to help you directly with executing terminal commands (which is what I assume you mean by DOS commands). Your best bet is to find what you're looking for from the general UWP APIs, and then figure out how you want to access that from JavaScript. Start here: https://microsoft.github.io/react-native-windows/docs/native-code