.\" Man page generated from reStructuredText. . .TH "PYPY-SANDBOX" "1" "December 20, 2014" "2.4" "PyPy" .SH NAME pypy-sandbox \- Interact with a sandboxed PyPy subprocess . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBpypy\-sandbox\fP [\fIoptions\fP] [\fB\-\-\fP \fB\-c\fP \fIcmd\fP|\fB\-\-\fP \fB\-m\fP \fImod\fP|\fIfile.py\fP|\fB\-\fP] [\fIarg\fP\&...] .SH DESCRIPTION .sp \fBpypy\-sandbox\fP is a wrapper around a "virtualized" version of PyPy, where an external process controls all input/output. This is a secure sandbox, it is safe to run any untrusted Python code with it. The Python code cannot see or modify any local file except via interaction with the external process. .sp Any options after a \fB\-\-\fP will be passed on to the wrapped sandbox\-enabled PyPy. It supports the same options as the regular \fBpypy\fP(1). .SH OPTIONS .INDENT 0.0 .TP .B \-\-tmp \fIDIR\fP The real directory that corresponds to the virtual \fB/tmp\fP, which is the virtual current dir (and is read\-only). .TP .B \-\-heapsize \fIN\fP Limit memory usage to \fIN\fP bytes, or kilo\- mega\- giga\-bytes with the \fBk\fP, \fBm\fP or \fBg\fP suffix respectively. .TP .B \-\-timeout \fIN\fP Limit execution time to N (real\-time) seconds. .TP .B \-\-log \fIFILE\fP Log all user input into the \fIFILE\fP\&. .UNINDENT .INDENT 0.0 .TP .B \-\-verbose Log all proxied system calls. Requires \fBpython\-py\fP to be installed. .UNINDENT .SH SEE ALSO .sp \fBpypy\fP(1), \fBpython\fP(1) .SH AUTHOR The PyPy Project .SH COPYRIGHT 2014, The PyPy Project .\" Generated by docutils manpage writer. .