system() call returns "Permission Denied" on Windows XP
Posted
by bde
on Stack Overflow
See other posts from Stack Overflow
or by bde
Published on 2010-04-15T22:09:05Z
Indexed on
2010/04/15
22:13 UTC
Read the original article
Hit count: 177
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.
© Stack Overflow or respective owner