How do you use IPC::Open3....

How do you use IPC::Open3....

am 19.01.2008 23:11:15 von grocery_stocker

to start a process in the background? I'm drawing a total blank.

Re: How do you use IPC::Open3....

am 20.01.2008 00:50:49 von Ben Morrow

Quoth grocery_stocker :
[ How do you use IPC::Open3 ]
> to start a process in the background? I'm drawing a total blank.

Processes started with IPC::Open3 are 'in the background', insofar as
that means anything in the context of Perl. They are not connected to
your terminal, and they will run independantly of anything else as long
as they aren't blocking on IO.

What are you actually trying to acheive? Please post a short script that
demonstrates your problem, and explain how it's not doing what you want.
You may also want to look at IPC::Run, which is generally much easier to
drive correectly than IPC::Open3.

Ben

Re: How do you use IPC::Open3....

am 20.01.2008 01:21:45 von grocery_stocker

On Jan 19, 3:50 pm, Ben Morrow wrote:
> Quoth grocery_stocker :
> [ How do you use IPC::Open3 ]
>
> > to start a process in the background? I'm drawing a total blank.
>
> Processes started with IPC::Open3 are 'in the background', insofar as
> that means anything in the context of Perl. They are not connected to
> your terminal, and they will run independantly of anything else as long
> as they aren't blocking on IO.
>
> What are you actually trying to acheive? Please post a short script that
> demonstrates your problem, and explain how it's not doing what you want.
> You may also want to look at IPC::Run, which is generally much easier to
> drive correectly than IPC::Open3.
>
> Ben


Somewhere in the perl documentation I read that you could use
IPC::Open3 to start a process in the background. I was having a brain
fart at the time. This might be because I was thinking about sex. Who
knows.

Re: How do you use IPC::Open3....

am 20.01.2008 02:40:02 von xhoster

grocery_stocker wrote:
> to start a process in the background? I'm drawing a total blank.

I'm not.

$ perldoc IPC::Open3 | wc
77 537 3860

Xho

--
-------------------- http://NewsReader.Com/ --------------------
The costs of publication of this article were defrayed in part by the
payment of page charges. This article must therefore be hereby marked
advertisement in accordance with 18 U.S.C. Section 1734 solely to indicate
this fact.

Re: How do you use IPC::Open3....

am 20.01.2008 16:27:32 von zentara

On Sat, 19 Jan 2008 14:11:15 -0800 (PST), grocery_stocker
wrote:

>to start a process in the background? I'm drawing a total blank.

Go to http://groups.google.com and search for "perl IPC::Open3"
and you will find many examples.

Searching http://perlmonks.org will also yield many examples.

zentara

--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html