Author guettli
Recipients
Date 2006-10-18.08:04:31
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
****
"""
History
Date User Action Args
2008-01-20 09:59:04adminlinkissue1579477 messages
2008-01-20 09:59:04admincreate