Help With using Non-web languages in Glitch App

How can I include scripts written in non-web languages in my Glitch app? I have a collection of code to print out “Hello, world!” in different languages here on Glitch and also here on GitHub, where it was made.

Bump

Can you be a bit more specific? You can run most of these in the console. If you want their output to be shown on the web, could use PHP’s exec function which runs commands in the terminal.

Example:

<?php
echo exec("bash file.sh");
?>
1 Like

Are all of the languages included in the app supported by Glitch or will PHP do the job for me? And I wanted to show the result on the web. Thank you very much!

I would say most are supported.

1 Like