I have created window service program and redirected stdout and stderr to diskfile using freopen function. It works fine. I spawn another program within server program. Its output does not get redirected to disk file.
How to redirect child process console output to diskfile. I dont want to use createprocess function.
Please help me