[pypy-dev] Sandboxing pypy

Armin Rigo arigo at tunes.org
Wed Mar 24 10:38:55 CET 2010


On Tue, Mar 23, 2010 at 10:46:50PM +0100, Søren Laursen wrote:
> I have tried different things using the pypy_interact.py (just love the
> ?timeout parameter J), looked at code but have not been able to read files
> or write files using the pypy_interact.py.

You get indeed a VFS (virtual file system) which is read-only so far.
You can read any file from the virtual path "/tmp/xxx" if you start
pypy_interact.py with the option "--tmp=some/path".  There is no support
yet to allow writes.  It could be easily added by editing vfs.py.

A bientot,


More information about the Pypy-dev mailing list