Calling perl executables from within perl

[email protected] Mon, 22 Aug 2005 09:58:58 +0000
Newsgroups perl.perlfaq.workers
Message-ID <[email protected]>
Hi,

I hope you can help as I thought this might be a useful FAQ.

I've compiled to perl programs using using pp. One .exe calls the other .exe using the shell module. When the second .exe starts you get the error 

run_sql: creation of C:\DOCUME~1\profile\LOCALS~1\Temp\par_priv.2056.tmp\perl58.dll failed - aborting with 13. 

this is because the dll already exists from when the first .exe initialised...

All I need now is the answer so that this can be added to the FAQs...help

Cheers

DaveS