in reply to
Run the process in the background
Could it be that "cmd" is actually reporting the "Illegal Seek"? Make sure that your
die()
is not simply
die $!
but has something more telling such as:
system("cmd &") && die "cmd failed: $!\n";
[download]
Note:
system()
returns
0
on success. If you have
system() || die()
you are trying to die on success. That, I'm assuming, would be bad.
Ivan Heffner
Sr. Software Engineer, DAS Lead
WhitePages.com, Inc.
Comment on
Re: Run the process in the background
Select
or
Download
Code
In Section
Seekers of Perl Wisdom