Skip to content
← Back to Community
EXE RUN ERROR
Profile icon
Leroy01010

MONO C DOESN'T WORK :( what is the its saying its exited status 26 and permission is denied:
https://replit.com/@Leroy01010/fridaynightsucks#.replit

Answered by SixBeeps [earned 5 cycles]
View Answer
Voters
Profile icon
Leroy01010
Comments
hotnewtop
Profile icon
SixBeeps

The command name in a Bash command goes first, then the parameters. In mono, mono is the command name, and you pass in the exe as a parameter.

Also, did you get rid of your replit.nix file?!

Profile icon
Leroy01010

i got rid of the file also i don't really understand what you mean as mono command and bash command @SixBeeps

Profile icon
SixBeeps

@Leroy01010 Okay so...

1.) All Nix Repls need that replit.nix file to run anything. In your case, you've just uninstalled Mono by removing that file.

2.) A Bash command is the thing you put in the terminal to do things. ls is a command. echo Hi is a command with a parameter. To run Mono projects, you run the mono command with an exe file as a parameter. You put a Bash command in the .replit file to run things.

So right now you're Repl won't do anything since you not only have nothing installed but you also have a malformed run command. Remake your Mono Repl but don't remove anything from there. Then you'll make the run command run the exe you're trying to execute.

Profile icon
Leroy01010

OH ok thx @SixBeeps

Profile icon
Leroy01010
Profile icon
SixBeeps

@Leroy01010 Wait, I thought FNF was built in Haxe. Are you sure this is a Mono executable?

Profile icon
Leroy01010

ye it's built in haxe i'm trying to mod it @SixBeeps

Profile icon
SixBeeps

@Leroy01010 Nghhh okay so because it's not a Mono executable, you can't run it with Mono.

There's no way to run the FNF source code on Replit, it's simply too large of a project. Trust me, I've tried.

Profile icon
Leroy01010

didddly darn @SixBeeps