Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not_safe_exec should use a subprocess #44

Open
nedbat opened this issue Jan 8, 2016 · 0 comments
Open

not_safe_exec should use a subprocess #44

nedbat opened this issue Jan 8, 2016 · 0 comments

Comments

@nedbat
Copy link
Contributor

nedbat commented Jan 8, 2016

not_safe_exec is for running tests that use CodeJail but don't want to require an actual CodeJail configured. Now, it runs the code directly in the current process. This is bad because it monkey-patches random without attempting to clean it up. To better emulate CodeJail, it should run the code in a subprocess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant