[pypy-dev] Translating --sandbox -02 python interpreter for windows
Armin Rigo
arigo at tunes.org
Sat Mar 9 12:40:44 CET 2013
Hi Charles,
On Thu, Mar 7, 2013 at 5:42 PM, Charles Roland <mummylauncher at gmail.com> wrote:
> File "c:\pypy-2.0-beta1\lib-python\2.7\subprocess.py", line 637, in
> __init__
> raise ValueError("close_fds is not supported on Windows "
> ValueError: close_fds is not supported on Windows platforms if you redirect
> stdin/stdout/stderr
Bah. It should be obvious from the full traceback: this is because
sandlib.py calls subprocess.Popen(stdin=..., close_fds=True), and for
some reason this is not supported on Windows. Sorry, we cannot be of
much help, apart from suggesting that you debug it and contribute back
the fix :-) It occurs in the pure Python code that attempts to start
the subprocess, so it should be easy.
A bientôt,
Armin.
More information about the pypy-dev
mailing list