Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

(bbq) Re: 2 programs as 2 processes

by BBQ (Deacon)
on Sep 22, 2000 at 22:36 UTC ( #33676=note: print w/replies, xml ) Need Help??


in reply to 2 programs as 2 processes

use the fork, Luke...

#!/home/bbq/bin/perl
# Trust no1!

Replies are listed 'Best First'.
RE: (bbq) Re: 2 programs as 2 processes
by tye (Sage) on Sep 22, 2000 at 23:47 UTC

    Note that the originaly poster appears to be using a Microsoft "operating system" which means that fork probably isn't the best choice. This is because prior to Perl 5.6.0, fork() didn't work. With Perl 5.6.0, fork() might work for this but it is very new and appears to be quite buggy in some situations.

    Personally I'd use system(1,"script") to prevent the calling script from waiting.

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2022-12-03 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?