You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have something like python script as available body type.
I was thinking of creating a template python script which would read from the stdin and then execute(evaluate?) the input.
Then, via ruby, we could start a process (using the childprocess gem) like python lib/python/template.py and send the mock's body to the process' stdin.
Is it possible to execute a python script isolated (in a safe context)?
How could we get the evaluated script's output?
The text was updated successfully, but these errors were encountered:
It would be nice to have something like python script as available body type.
I was thinking of creating a template python script which would read from the
stdin
and then execute(evaluate?) the input.Then, via ruby, we could start a process (using the
childprocess
gem) likepython lib/python/template.py
and send the mock's body to the process'stdin
.The text was updated successfully, but these errors were encountered: