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
Sep 4, 2022
Messages
163
Reaction score
16
Hello ,

to start cmd.exe, and manage cmd behavior , you have two parameters :

Bash:
# keep the console open
cmd.exe /k .........


# run the script but close the console at end :
cmd.exe /c .........

here the link to Microsoft page for cmd.exe :

Sure cmd.exe could be kind of old fashion, but it works well ( since DOS and beginning of Microsoft ) , for your project.

Learn to set 'environment vars' with "PATH=" if required by your project, 'PATH vars' make folder(s) as global vars.
 

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
474,348
Messages
2,571,451
Members
48,795
Latest member
Lonell Lee

Latest Threads

Top