Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl threads through System command

Status
Not open for further replies.

nitindn

Programmer
Feb 18, 2003
6
AU
I am a little bit confused ..
I am using the ithread feature of perl 5.8.0. I have a perl script in which through the threading feature, I have spawned a new thread. In this new thread, through the perl 'system' command, I am invoking another script. Now if the main thread exits, the new perl script invoked through the thread continues it's execution. Now in case i want this script to be terminated as well, when the main script exits due to some error, what should I do..?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top