I have to run my compiler on around 12000 files which are unit testcases. For this, i have a perl script "a.pl" which internally call another perl script "b.pl". "b.pl" invokes compiler_exe on the specified file. "a.pl" reads a file named files.txt containing list of file names on which the exe is to be invoked. Filenames are read from the files.txt one by one and its name is passed to "b.pl". "b.pl" invokes an exe on the file. The files.txt contain around 12000 file names. I need to two scripts because b.pl is like a wrapper for my compiler_exe which does some other things like setting options for the compiler to run with. However the problem is that, i get errors like "Access is denied" or "process cannot access the file as its being used by another process" on only FEW files(around 50 files).These 50 files are not the same always. The 12000 files are c files and they are not accessed by any other program or process. Perl : Active perl 5.8.8 for windows. On linux: There is no issue, everything works properly.

In reply to Re^2: Access is denied by Anonymous Monk
in thread Access is denied by debugger

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.