[英]Program exited with code: 5 - Geany with gcc
my issue: when I compile and build my program in C (using gcc compiler and geany as editor), no problem, fil object and executable are fine.我的问题:当我在 C 中编译和构建程序时(使用 gcc 编译器和 geany 作为编辑器),没问题,fil object 和可执行文件都很好。 But when I try to execute from Geany or manually from Prompt (as Admin), I get this kind of error.
但是当我尝试从 Geany 或从 Prompt 手动执行(作为管理员)时,我得到了这种错误。 It became to appear after installing Visual Studio, I don't know if it causes some issue like this.
安装Visual Studio后就出现了,不知道是不是这样的问题。 Before its installation I had no problem.
在安装之前我没有问题。
I've set all kinds of permission, r/w files and dirs, but everytime I go view Property File of my.exe I find "Read Only" permission.我已经设置了各种权限,r/w 文件和目录,但是每次我 go 查看 my.exe 的属性文件时,我都会找到“只读”权限。 Then, I try to execute, Promt give me exit error code 5 and my.exe file have been deleted automatically.
然后,我尝试执行,Promt 给我退出错误代码 5 并且 my.exe 文件已被自动删除。
How can I solve this problem?我怎么解决这个问题? Thanks all folks.
谢谢大家。
Exit error code 5 means access denied.退出错误代码 5 表示访问被拒绝。 Together with the executable being deleted automatically, that points to your antivirus being at fault.
连同被自动删除的可执行文件,这表明您的防病毒软件有问题。 Replace it with a better one.
换一个更好的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.