Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^6: question about running a system and a perl function background

by Anonymous Monk
on Dec 23, 2004 at 16:06 UTC ( #417135=note: print w/replies, xml ) Need Help??


in reply to Re^5: question about running a system and a perl function background
in thread question about running a system and a perl function background

Hello,

Thank you so much for the detailed explanation. That really helps understand threads a lot more. I have been trying to implement it in my program and was getting a very strange result...when I directly run the perl file testThreads.pl from the command window...it runs fine.

But, when I call testThreads.pl from another file...from the command

system (" perl testThreads.pl");

Only one of the threads starts...and then it hangs and does not complete. Is this expected?

  • Comment on Re^6: question about running a system and a perl function background
  • Download Code

Replies are listed 'Best First'.
Re^7: question about running a system and a perl function background
by Anonymous Monk on Dec 23, 2004 at 17:48 UTC
    Hello,

    Actually I got it to work...problem was that it did not install completly...so after it did...the thread works.

    Thank you.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2023-02-07 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?