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

Posted on 2007-10-15
Last Modified: 2013-11-08

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.

Question by:LeighWardle
    1 Comment
    LVL 10

    Accepted Solution


    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
    The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now