diff options
| author | 2021-12-26 11:24:04 -0800 | |
|---|---|---|
| committer | 2021-12-26 11:24:04 -0800 | |
| commit | 9d918d48f5ec7d26c8fca1b851f68318ef5b0ae4 (patch) | |
| tree | 5d27d688bb0758acc0c1f38bf9a9746ea2fdb339 /DEVELOPING.md | |
| parent | Fix #124 passing NsJail arguments via main entrypoint (diff) | |
Add option to pass Python args via main entry point
Python args are specified as a single string because if they were
positional, there wouldn't be a way to distinguish them from NsJail's
args.
Diffstat (limited to 'DEVELOPING.md')
| -rw-r--r-- | DEVELOPING.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DEVELOPING.md b/DEVELOPING.md index 0dbf4cc..ef758bc 100644 --- a/DEVELOPING.md +++ b/DEVELOPING.md @@ -85,7 +85,7 @@ pipenv run devsh -c 'echo hello' NsJail can be invoked in a more direct manner that does not require using a web server or its API. See `python -m snekbox --help`. Example usage: ```bash -python -m snekbox 'print("hello world!")' --time_limit 0 +python -m snekbox 'print("hello world!")' --time_limit 0 --- -m timeit ``` With this command, NsJail uses the same configuration normally used through the web API. It also has an alias, `pipenv run eval`. |