Execute code snippets or execute code from a file URL in JavaScript, Python, and Bash with full output capture