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

B

Ben Morrow

Quoth grocery_stocker said:
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
 
G

grocery_stocker

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.
 
X

xhoster

grocery_stocker said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top