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

to start a process in the background? I'm drawing a total blank.
grocery_stocker [ Sa, 19 Januar 2008 23:11 ] [ ID #1912231 ]

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

Quoth grocery_stocker <cdalten [at] gmail.com>:
[ 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
Ben Morrow [ So, 20 Januar 2008 00:50 ] [ ID #1912752 ]

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

On Jan 19, 3:50 pm, Ben Morrow <b... [at] morrow.me.uk> wrote:
> Quoth grocery_stocker <cdal... [at] gmail.com>:
> [ 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.
grocery_stocker [ So, 20 Januar 2008 01:21 ] [ ID #1912755 ]

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

grocery_stocker <cdalten [at] gmail.com> 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.
xhoster [ So, 20 Januar 2008 02:40 ] [ ID #1912757 ]

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

On Sat, 19 Jan 2008 14:11:15 -0800 (PST), grocery_stocker
<cdalten [at] gmail.com> 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
zentara [ So, 20 Januar 2008 16:27 ] [ ID #1912776 ]
Perl » comp.lang.perl.misc » How do you use IPC::Open3....

Vorheriges Thema: FAQ 8.34 I {changed directory, modified my environment} in a perl script. How come the change disap
Nächstes Thema: PERL MAP HELP