SubprocessInterpreter is a class for executing code files or code
strings in a subprocess.This class handles the execution of code in different scripting languages
(currently Python and Bash) within a subprocess, capturing their
stdout and stderr streams, and allowing user checking before executing code
strings.Parameters:
require_confirm (bool, optional): If True, prompt user before running code strings for security. (default: :obj:True)
print_stdout (bool, optional): If True, print the standard output of the executed code. (default: :obj:False)
print_stderr (bool, optional): If True, print the standard error of the executed code. (default: :obj:True)
execution_timeout (int, optional): Maximum time in seconds to wait for code execution to complete. (default: :obj:60)