[pypy-dev] Getting a backtrace out of the sandbox
Lukas Barth
lists at tinloaf.de
Fri Jun 5 03:03:36 CEST 2015
Hi everyone,
I'm using the pypy sandbox, with a slightly modified pypy_interact.py
script. Basically, I'm starting pypy-c with a '-c "from foo import
bar\nbar()' command line argument instead of running a script directly.
After that, I do sandproc.communicate("") to get the result of the script.
Now, this all works fine. I only have a problem if there's a problem in
the sandboxed script. If there's an exception, the only thing I get is a
> OSError: the sandboxed subprocess exited with code 1
Is there any way of actually getting the backtrace?
Thanks a lot,
Lukas
More information about the pypy-dev
mailing list