This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author leif.walsh
Recipients leif.walsh, ms
Date 2008-06-24.21:00:50
SpamBayes Score 0.013653697
Marked as misclassified No
Message-id <1214341251.83.0.242621270819.issue3192@psf.upfronthosting.co.za>
In-reply-to
Content
There's 'execfile' in Lib/idlelib/PyShell.py...I'm looking for others.

There is also a class of functions 'exec*' (and a related class, 
'spawn*') in Lib/os.py that claims to do just what you want, but 
replacing the current process (or, in spawn*'s case, in a new thread).

That said, I agree that exec should handle streams, and if you could 
give me a heads up as to where the code is for exec(), I could try my 
hand at a patch.
History
Date User Action Args
2008-06-24 21:00:52leif.walshsetspambayes_score: 0.0136537 -> 0.013653697
recipients: + leif.walsh, ms
2008-06-24 21:00:51leif.walshsetspambayes_score: 0.0136537 -> 0.0136537
messageid: <1214341251.83.0.242621270819.issue3192@psf.upfronthosting.co.za>
2008-06-24 21:00:51leif.walshlinkissue3192 messages
2008-06-24 21:00:50leif.walshcreate