OK I looked into this problem further and Win32::GetLastError, I consistently get the message "Cannot create a file when that file already exists." This does not sound like this is an appropriate message but I am confounded as to what this problem could be.
Thanks At 11:32 PM 5/2/2002 -0400, rAuL wrote: >I am using Win32::Process::Create in an NT Service application that I am >writing. It reads a configuration file which tells it which application >to run and with what parameters. > >There seems to be a problem whenever I try to run a Perl and DOS BAT >script. At this time, I cannot tell you yet what the actual problem is >until I do more debugging but for the time being, it seems like the >process immediately dies and Win32::GetLastError sometimes comes back >blank. I will tell you when I took the Perl script and compiled as an EXE >using the PDK, the problem went away > >I was wondering if this might have something to do with using the Perl and >DOS BAT interpreters. When you create a process, what kind of runtime >environment does Win32::Process::Create create? > >Thanks > >_______________________________________________ >Perl-Win32-Admin mailing list >[EMAIL PROTECTED] >To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
