Posts

Post not yet marked as solved
5 Replies
579 Views
My IDE like app built with electron allows to spawn a terminal by means of forkpty. Although this is also working in the MAS build, the sandboxed environment results in the terminal being mostly unusable (which I expected). From a technical perspective, what would be the best way to allow an unrestricted terminal experience? Obviously I'd need the terminal process to be spawned outside the sandboxed environment. My initial thinking was that I could create some kind of "Helper" app that the user has to run manually. This app would then run outside the sandbox and would provide a terminal API to my sandboxed app by means of TCP or IPC Socket communication. But this would have multple drawbacks: Uncomfortable for the user because he has to spawn the helper app The communication sockets could be abused by others I'm sure there exist many other apps on the Mac App Store that face the same problem (running a process outside the sandboxed environment). What is the best way to solve this? Is it even allowed?
Posted
by mofux.
Last updated
.