Ask coding questions

← Back to all posts
EXE RUN ERROR
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
Leroy01010
Comments
hotnewtop
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?!

Leroy01010

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

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.

Leroy01010

OH ok thx @SixBeeps

Leroy01010
SixBeeps

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

Leroy01010

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

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.

Leroy01010

didddly darn @SixBeeps