Controlling newlines when writing to stdout (no \r\n).

2005-01-03 Thread Evgeni Sergeev
a way to avoid this intervention? (I avoided the whole problem by sending a HTTP redirect 'Location: ready.pdf\n\n', but I still want to know the answer). Evgeni Sergeev -- http://mail.python.org/mailman/listinfo/python-list

popen2, 3, 4 -- will closing all returned streams result in process termination?

2004-12-28 Thread Evgeni Sergeev
After I opened streams to a process using popen2, popen3 or popen4, will closing every one of the streams terminate the process? Is there assurance that the process will terminate and not sit in memory orphaned, waiting on its stdin, for example? Evgeni Sergeev -- http://mail.python.org