For some reason, I have to execute commands such as ls, ps using native c code in Android.
I tried system() and popen(), but none of them works. I don't know why.
Any help will be appreciated.
For some reason, I have to execute commands such as ls, ps using native c code in Android.
I tried system() and popen(), but none of them works. I don't know why.
Any help will be appreciated.