Re: Inline::Python Python child process stdout redirection

[email protected] (Chris Nighswonger)
Newsgroups perl.inline
Message-ID <CAP3yOo=G_XPh_xSg5WjnoTv0OZ7gghBTn=d8wZgdP-6M1p2mpQ@mail.gmail.com>
On Tue, Mar 19, 2013 at 3:15 AM, Stefan Seifert <[email protected]> wrote:

> On Monday 18 March 2013 21:10:24 Chris Nighswonger wrote:> Is
> > there a way to redirect the stdout of the resulting child process?
>
> It's the same stdout, you use in Perl.
>

I'm sorry: I should have worded my question directly. Here is what I need
to do:

open STDOUT, ">", \$var

So long as I have STDOUT write to a file, things work fine. when attempting
to write to a variable, Perl borks.

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.