system() call returns "Permission Denied" on Windows XP
- by bde
I am experiencing a problem with a C program running on Windows XP that is getting Permission Denied (EACCES) errors when it tries to call system().
It doesn't seem to matter what I put in the command string, the commands all work manually but get Permission Denied errors when executed via system()
The other interesting thing is that the program works correctly on other XP machines, just not this one. That makes it feel like some kind of OS setting, but I am not totally sure what system() does under the hood and would like to understand what is happening here.
Thanks.