For a program i am making i need to use another program as a subprocess(could be a side process, don't care). Then i am going to communicate with it(send and receive).
The program is for android and ios platforms. And for testing purposes i will also make the same thing at windows.
For android, it depends on the device and its android version. May or may not run unix commands. So it is not something you will spend time for.
For iOs, although you can run unix code to some extent. Apple restricts it and iOs will kill the app. So even if you do it, your app won't get published by Apple.