#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    5
    Rep Power
    0

    Execute external application


    Hello.

    I need to execute a external application and capture his output to be presented in a TListBox.

    I have a unit that executes a external application and captures his output but the problem is that I don't see the output until the application finishes and that's the problem as the application must be running in the background.

    Can someone help so that I can monitor the output of the external application while it runs in the background.

    Thanks,
    Miguel
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,638
    Rep Power
    4247
    How are you capturing the output? Are you redirecting it to a file or reading from a pipe.
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    5
    Rep Power
    0
    Thanks for the repply but I've found a small component called TDosCommand that does exactly what I need.

    Miguel

IMN logo majestic logo threadwatch logo seochat tools logo