Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by Anonymous Monk
on Dec 23, 2004 at 16:06 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2025-02-08 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (95 votes). Check out past polls.