Thomas Frieden said:
Hi,
Olegil at home wrote:
Personally, I prefer pthreads for daemon processes. But for shells... Yeah, fork works there.
Did I mention that fork _SUCKS_ ?
Repeatedly :-P
But what can you do? Is there a good way in AmigaOS to say "I want to run this application, and this file descriptor (which I have open for writing) will be the stdin, and THESE file descriptors (which I have open for reading) will be stdout/stderr". And if so, does it port well into POSIX? If you don't get what I'm hinting at here, I'm actually suggesting writing a shell from scratch, AND making it portable :-P