Does getting a return cmd prompt equate to a successfully run script? My perl script runs everything correctly, but when the script finishes I see a mix of results. Sometimes it returns to the command prompt, sometimes I get a delayed cmd prompt (takes a minute or so to return), and sometimes I get a no cmd prompt at all (It seems to hang after it finishes).

Could this be no big deal or is this indicative of a process that's hanging and could this potentially be a problem? Is there anything I could do to force it give me the cmd prompt right after the script ends? I have an exit command right after it finishes, so I am not sure why I get delay or hang sometimes.

--Snippet

        print("\n$cmd");
        system($cmd);
        print "Returning to PERL Script\n";
        &fetchMovie($number,$directory,$outputPath);
        print "DEBUG PERL SCRIPT END\n";
        print "Goes to EXIT AFTER END\n";
        exit 0;

Thanks ,

-T

_________________________________________________________________
MSN 9 Dial-up Internet Access helps fight spam and pop-ups – now 2 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to