Exit status 2 /C language

Question:
How do I fix the exit status 2 error?

Everytime I hit the run button I got this error and it does not run my program. What should I do.
Replit Profile: https://replit.com/@

1 Like

press the ... and press show hidden filesthe go to the .replit file and replace EVERYTHING with run = "chmod +x run.sh;./run.sh" (ctrl+A will select everything)

2 Likes

Just remove the compile line in the .replit file. No need to sacrifice everything else.

3 Likes