On Sunday 30 October 2005 01:40, Jason Stubbs wrote: > Given the threading comment, I'd be agreeable to this. However, the spawn > of tee would have to specifically close the write side of the pipe when > unknown FDs aren't closed. Is having two extra paramaters, close_fds (a > list) and close_all_fds (a bool), to spawn okay? Okay. I'll back down on the closing/leaving unknown fds debate. The attached patch removes the usage of unused_fds introduced by 4/7, removes the unnecessary closing in the revised 3/7 and fixes two bugs in the detection of max_fd_limit. -- Jason Stubbs