Inline::Python Python child process stdout redirection

[email protected] (Chris Nighswonger)
Newsgroups perl.inline
Message-ID <CAP3yOon_z7dRH6-afgNb09wZz=ZC0tixw-jggSiN-iReQ_bgtQ@mail.gmail.com>
Hi all,

I'm using Inline::Python to call a Python function which writes to stdout.
I'm guessing that Inline::Python forks at some point to run Python. Is
there a way to redirect the stdout of the resulting child process? I'm
(again) guessing that there is no way of knowing the process id in time to
do anything with it.

Kind Regards,
Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.