4 ms·
What do you want the CLI to do? It's pretty fundamental to the iOS model (and the Android one) that apps are isolated from each other, so you certainly could ha
by geofft 11y ago
What do you want the CLI to do? It's pretty fundamental to the iOS model (and the Android one) that apps are isolated from each other, so you certainly could have a CLI app that does stuff (ssh, git, vi?) within its own home directory, but can't interact with the rest of the system.
In fact there are Android apps that do this. It's harder on iOS because you don't get fork(), but if someone wanted to try super hard, you could make all the apps run as threads within the same process.
If you want a root shell without jailbreaking, that's almost contradictory.
- bcoates 11y agobusybox + filesystem access + a way to raise events for other applications (Android intents equivalent) + a way to install CLI tools with CLI-appropriate sandboxing (python, for example) would be incredibly useful. Done right it'd be the last thing needed to really obsolete pre-mobile OSes. You wouldn't have to abandon the security model.
- geofft 11y agoHearty +1 from me, then, but I'm pretty sure you can do this as a standalone app on the App Store without needing Apple to give you anything. You'd basically be running busybox on a bizarro version of a unikernel / rump kernel (or, alternatively, a bizarro version of User-Mode Linux).
- icebraining 11y agoAndroid apps have shared access to the "memory card" (often simulated, e.g. on Nexus devices), so they can interact through that. Hell, in Android you can even run Debian without rooting: https://play.google.com/store/apps/details?id=com.cuntubuntu&hl=en https://play.google.com/store/apps/details?id=com.cuntubuntu...