I have developed a Perl cgi script that takes a significant amount of time to complete. Users who start the script from a web interface can go to another page without waiting for the script to finish which can cause problems. I have tried to use the exec command to start a new process that cannot be stopped by the user. However, this has a fatal problem when it gets to the $dbh->connect() command. If I try the same code but replace 'exec' with 'system' everything works fine. I used the DBI->trace function but nothing gets generated in a trace file in the exec case. I am connecting to a DB2 database. I examined the contents of %ENV and it is the same for both cases other than a Port number difference. Can anyone offer a solution, an alternative approach or a clue as to what I can check. Thanks Steve Cameron ========================================================================This e-mail is sent for the sole attention of the identified addressee and its contents are provided for information purposes only. Fortis Clearing Sydney Pty Ltd makes no warranty or representation as to the accuracy and completeness of any information and does not assume whatever commitment hereby. Legally binding obligations can only arise for, or be entered into on behalf of, Fortis Clearing Sydney Pty Ltd by means of a written instrument, signed by two duly authorised representatives of Fortis Clearing Sydney Pty Ltd. Fortis Clearing Sydney Pty Ltd excludes any liability whatsoever for any direct or consequential loss arising from the use of, or reliance on, this e-mail or its contents. =========================================================================