How to capture the "console output" from a task executing via CreateProcess

Hi,

I am using the Win API function, CreateProcess, to execute an .exe file (created by a Fortran compiler).

I want to capture the "console output" from the task, that is, the output that would output to the screen if the .exe file was executed from a command prompt.

Thanks,
Regards,
Leigh
LVL 1
LeighWardleAsked:
Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.