Would like to know if we can able to run shell script from react native like exec and spawn in node js. As we know in Node, we can even create child process and makes it possible to have a multiprocess concurrency can be achieved using spawn.In turn, may be the question can be divided to
- Can we run shell commands using es6?
- If the above question's answer isa no, is there a way to run shell commands in android & ios (at runtime,ofcourse) so thatwe can create a wrapper and make it available in RN?
There is already a thread in reddit I found for this, but nothing in stackoverflow, thought it is more apt to ask in here.