marlboroguy58 has asked for the wisdom of the Perl Monks concerning the following question:
hi, i have a script which extracts data from a flat file, formats it and populates that data into an Excel sheet. I noticed that if the flat file is small, the script runs and exits with code 0, but if there is a lot of data the same script populates some part of the data and exits with code 255.
i m not a perl expert, but think that the perl.exe is losing the CPU time and hence exiting...not sure..
i m using windows XP professional.
once i run the script there will be 2 processes running
perl.exe
EXCEL.exe
as soon i run the script i set the priority of the perl.exe process to "real time", the script runs succesfully, but with the default priority it exits with code 255.
how do i prevent the script from coming out...is there a way i can set the priority of the script from within the script..
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: EXIT CODE 255
by roboticus (Chancellor) on Mar 30, 2007 at 11:53 UTC | |
by Moron (Curate) on Mar 30, 2007 at 12:05 UTC | |
by roboticus (Chancellor) on Mar 31, 2007 at 13:04 UTC | |
Re: EXIT CODE 255
by sgifford (Prior) on Mar 30, 2007 at 15:14 UTC |
Back to
Seekers of Perl Wisdom