Skip to content
← Back to Community
.exe files
Profile icon
MicroSoftHelp

I was wondering if there was a way to make it so you can run .exe files in this. For example, if something is downloaded how can I make it able to run.

Voters
Profile icon
RayanBachacha
Profile icon
DamianPrzepiora
Profile icon
EsxBigboS
Profile icon
MicroSoftHelp
Comments
hotnewtop
Profile icon
BD103

I'm not sure that's possible. Repl.it uses Linux servers, so they can't run .exe files, as those are Windows specific.

Profile icon
MicroSoftHelp

@BD103 What files can they run?

Profile icon
BD103

Linux is weird. They don't have a standard executable file. Because of this, you can just use language specific files, like .jar. If you're using Python, try using the pyinstaller package. @OperationDemon

Profile icon
MicroSoftHelp

@BD103 How can I use the pyinstaller package?

Profile icon
MicroSoftHelp

@BD103 What i am looking for is an "application" to open up files

Profile icon
BD103

If you can find the command with shell, you could do something like this:

import os os.system("python myfile.py")

That runs your python file, there are also alternatives for different languages.
@OperationDemon

Profile icon
Coder100

you can use mono @BD103

Profile icon
BD103
Profile icon
Coder100

did it work? @BD103

Profile icon
Coder100

i know it works for some applications, but not all @BD103

Profile icon
BD103

Not sure, I don't have any .exe files. :)
@Coder100

Profile icon
Coder100

and in python:

import os print("what exe to run?") os.system("mono %s.exe" % input())
Profile icon
Coder100

You can, we use mono.

mono main.exe

(this is a shell command)

Profile icon
RYANTADIPARTHI

I don't think they can run .exe files.