Issues

Issue #10 resolved

Temporary file fails under Windows XP

Adam Washington
created an issue

Under Windows XP and Python 2.6, the script fails at:

        execfile(tf.name, envdic)

Windows won't allow the file to execute since python hasn't closed its own file handle yet.

Comments (2)

  1. Oben Sonne repo owner
    • changed status to open

    Actually this is part of issue #8. Revision e529749635df has been committed as part of this issue and introduced this new issue.

    A quick fix would be to call execfile outside the with-block, but then we would have take care of deleting the file again, also when an exception occurs. I'm not sure yet if this would be the best approach.

  2. Log in to comment