Ask coding questions

← Back to all posts
Exec format error
RisuSofos (0)

I want to compile an application into an executable binary so i can pass command line arguments but I cant seem to find a way to compile it into something repl can run

Comments
hotnewtop
SixBeeps (5629)

To clarify a bit more from what @Coder100 said, to pass in command line args to your program, it'll look like this:

Coder100 (19279)

C# compiles to exe which replit can't natively run as it is a Linux machine. Instead, it relies on mono to run it for them. So do mono main.exe.