Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: help

by marcink (Monk)
on Jun 19, 2001 at 14:48 UTC ( [id://89603]=note: print w/replies, xml ) Need Help??


in reply to Setting up UNIX pipes and forks

Hmm... homework again?

You will need to use <> to read the commands, fork and exec to execute them, and a little of file descriptor shuffling before forking to set stdins and stdouts of child processes correctly. See close and open for that (if you know C, perl's open can mimic the dup function).



-marcink

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://89603]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found