The stupid question is the question not asked | |
PerlMonks |
Re: Perl script crashing at lockfile ?by robartes (Priest) |
on Oct 01, 2003 at 12:00 UTC ( [id://295580]=note: print w/replies, xml ) | Need Help?? |
If by 'stopping' you mean 'just sitting there and doing nothing usefull' (as opposed to 'exiting'), than have a look at the man page for lockfile on your system. The system function does not return until the spawned program, lockfile in this case, returns.
If your system call is not returning, that means the lockfile process is not returning. Take a look at that. File locking is a tricky field that is very susceptible to portability issues. You might have been bitten by one of them. CU
In Section
Seekers of Perl Wisdom
|
|