@DeepakR_28 I think because your executable file does something that requires root permission (which is not possible in Repl) to do or Repl requires root permission to run every executable file. So maybe the possible way is to run it on your local computer or use .replit, of course with gcc installed. If you are in Windows, use MinGW for gcc binding.
You can open the Repl Terminal by using Ctrl+Shift+P or Ctrl+Shift+S. In the terminal, type:
Then you should see an executable file called
filename
, run that file by using:@Wumi4 Thank you soooo much!!!
@Wumi4
it was working fine, but suddenly after fixing some errors i cant run any file.. why is is saying permission denied?? any help if possible??
@DeepakR_28 I think because your executable file does something that requires root permission (which is not possible in Repl) to do or Repl requires root permission to run every executable file. So maybe the possible way is to run it on your local computer or use
.replit
, of course withgcc
installed. If you are in Windows, use MinGW forgcc
binding.@DeepakR_28
chmod +x <the name of the executable