executioner.sandbox.no_sandbox.NoSandBox(SandBox)
class documentationexecutioner.sandbox.no_sandbox
(View In Hierarchy)
Known subclasses: executioner.sandbox.firejail.FireJail
NoSandBox sandbox class
Class Variable | supported_languages | List of supported languages by this sandbox |
Class Variable | error_reg | regular expression to extract error text and time |
Method | __init__ | initialize object variables |
Instance Variable | file_location | The file location of the current program |
Instance Variable | compile_file_location | The compiled file location of the current program |
Method | generate_compile_command | generate command to compile program |
Method | generate_execute_command | generate command to execute program |
Method | get_compiled_file | get the file location of compiled file |
Method | process_error | get error and real time taken |
Method | setup_file | set up the file in file system |
Method | identify_error | identify the error |
Method | compile | compile the Program |
Method | execute | execute the Program |
Method | delete | cleanup program related data from sandbox |
Inherited from SandBox:
Method | to_json_object | convert to JSON object |
Static Method | from_json_object | Generate Program object from JSON object |
Method | __eq__ | Undocumented |
List of supported languages by this sandbox
List[str]
)
generate command to compile program
generate command to execute program