> dup2(oldfd, newfd) closes oldfd.

No, it doesn't close oldfd.

It may close newfd if it was already open.

Victor
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to