Single run command?

Joined
May 14, 2025
Messages
4
Reaction score
0
I am working on a code editor and I have a run button in the menu. I designed it for all languages (I've only added Python syntax highlighting so far) so I need a single command (cmd or powershell) that can run any filetype in a visible terminal window. Any help finding one would be greatly appreciated! :)
 
Joined
Jan 5, 2025
Messages
5
Reaction score
0
I am working on a code editor and I have a run button in the menu. I designed it for all languages (I've only added Python syntax highlighting so far) so I need a single command (cmd or powershell) that can run any filetype in a visible terminal window. Any help finding one would be greatly appreciated! :)
So, you want help finding a single command that can run any filetype? Would it be better and easier if you were to just manually type in commands for specific filetypes in the terminal rather than a single-run command?

I really haven't fully understood what you're trying to mean.
 
Joined
Aug 6, 2023
Messages
12
Reaction score
0
Maybe a shell script that looks for ifs or cases of which type the file is? Then you could use the run command on the shell script and it would check the file extension to see which command to run.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,049
Messages
3,104,245
Members
248,133
Latest member
DujonT

Latest Threads

Top