News for hackers. Stuff that matters.
Re:Show HN: Terminal, a sandboxed command-line interface for... by glhaynes on Saturday January 06, 2018 @04:45PM (#16087640)
You can't fork() in App Store apps. Which is why all of the commands on the linked Terminal app are built-ins. So a bash-like of sorts could be made to work, but it would be very different and quite limited.
Re:Show HN: Terminal, a sandboxed command-line interface for... by brians on Saturday January 06, 2018 @06:39PM (#16088129)
You can’t fork a kernel thread. The hard part, and the value, of such an app would be a userspace fork() to a simulated thread.
Re:Show HN: Terminal, a sandboxed command-line interface for... by glhaynes on Saturday January 06, 2018 @11:25PM (#16089152)
I'm not sure what you mean - what's the relevance of a kernel thread (or threads in general) here?