Thanks for all the replies. I have started to look at vfs.py, I will join IRC later today.
Regards, Søren -----Oprindelig meddelelse----- Fra: Armin Rigo [mailto:[email protected]] Sendt: 24. marts 2010 10:39 Til: Søren Laursen Cc: [email protected] Emne: Re: [pypy-dev] Sandboxing pypy Hi, 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, Armin. _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
