Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Capture file descriptors while running an external program
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="jfigueiras, post: 2046151"] Hi all! I have a problem with the module subprocess! The problem is that the external software that I am running under subprocess.Popen opens stdin, stdout, stderr, and other file descriptors to write and read in the hard drive. I know how to capture stdin, stdout and stderr, what I cannot do is to capture the other file-descriptors. Is there any way to wrap those non-standard file descriptors and make them write and read from a specific object that I define? I know that I can use tmp files to do that, but i would like something running without tmp files. Regards... Joao ___________________________________________________________________ O SAPO já está livre de vírus com a Panda Software, fique você também! Clique em: [URL]http://antivirus.sapo.pt[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Capture file descriptors while running an external program
Top