Message61022
Hi,
before using one of the os.exec??? functions you should
flush all open file descriptors. (E.g.
sys.stdout.flush()). If you don't the content in the
buffer will get lost.
According to Fredrik Lundh this is a feature, not a bug.
I think the documentation should include a hint:
""".... path must contain an appropriate absolute or
relative path.
****NEW
The current process gets replaces immediately. Open
file descriptors are not flushed. You should flush all
open file descriptors (e.g. sys.stdout.flush()) before
calling one if the above exec functions.
****
"""
|
|
Date |
User |
Action |
Args |
2008-01-20 09:59:04 | admin | link | issue1579477 messages |
2008-01-20 09:59:04 | admin | create | |
|