-Original Message-
From: Paul D. Kraus [mailto:[EMAIL PROTECTED]
Sent: Monday, May 09, 2005 9:19 AM
To: Perl Beginners List
Subject: Fork - Process ID
Sceniro.
I have many cron jobs that run perl scripts. These perl
scripts launch TbredBasic Applications. The problem I keep
- Original Message -
From: Paul D. Kraus [EMAIL PROTECTED]
Date: Monday, May 9, 2005 10:18 am
Subject: Fork - Process ID
Sceniro.
I have many cron jobs that run perl scripts. These perl scripts launch
TbredBasic Applications. The problem I keep finding these processes
hung but I
[EMAIL PROTECTED] wrote:
The reason your code prints pid twice, is in the placement of your print
statment. Since you placed your print code after your fork statment, both
parent and child read that statment. Inside that block Parent will see
pid of ' 0 ' for child, which is normaly a condition