On Mon, Dec 22, 2003 at 02:23:11PM -0800, Guido van Rossum wrote:
How hard would it be to reimplement our own system() and popen() using only POSIX calls, for POSIX systems? I've always thought of these to be pretty simple combinations of fork() and exec(), with an assumption of a working /bin/sh. Without error checking:
Yeah -- this is something we could do if necessary. the opengroup standard lists a few more things to "get right" in terms of signal handling for system(), but we can do all those in C or in Python..