calling command-line utility from app [closed]
Is it poss开发者_运维百科ible to call a command-line utility from a running app on iOS devices?
The utility is a binary executable and is supposed to be included in the app package.
There already are command line utilities (think iSSH) on the iPhone. If what you mean, however, is "can you use underlying UNIX system utilities" or "run a utility you bundle onto a iPhone shell", no it's not possible.
Apart from that, bundling an opensource utility with a closed source application will open interesting legal challenges, you would have to be very attentive to implications of licenses.
精彩评论