I created a Windows service that can execute processes open via wcf (for internal use only). I recently ran into a problem when this works fine, if I execute the process (cmd.exe) directly, but when it is set as LOCALSYSTEM, the output and error redirection do not work. After a day or so, I realized that if I also redirect stdin, everything would be fine. I found a related thread here , but does not have real permission.
In any case, I was wondering if anyone knows about the reason for this and are there any known issues with accessing Windows Services?
One complication is that I recently installed W7 SP1, so I’m not sure if this behavior changed or not, because I did not have the opportunity to uninstall and try again.
Adamc source
share