in reply to Disabling Buffering

I sent my question to fletch, I meant richz, sorry..

Replies are listed 'Best First'.
Re^2: Disabling Buffering
by bmc_mark (Novice) on Nov 29, 2004 at 21:39 UTC
    Ignore the previous post, sorry I'm new here. Richz, I have been looking for a way to capture stdout/stderr output from a process called with Win32 Process Create..looks like you have that handled. Can you post the snippet for that, please? I'm pretty desperate... Thanks, Mark

      Are you sure you need to start the other process by Win32::Process? Would not IPC::Open3 work better?

      Jenda
      We'd like to help you learn to help yourself
      Look around you, all you see are sympathetic eyes
      Stroll around the grounds until you feel at home
         -- P. Simon in Mrs. Robinson

      bmc_mark, Not that it really matters but is the process you are creating a perl script?
        No, it's a command line executable that is run from a cmd shell...
Re^2: Disabling Buffering
by richz (Beadle) on Nov 29, 2004 at 21:41 UTC
    Yeah, I am getting some weirdness in my Win32 app. I guess the I/O redirection isn't working flawlessly; that's somewhat strange since my other 2 perl scripts run great from my Win32 app w/o disabling buffering...
      Rich, it's a .exe that is run from the command line, all text output. Output goes to cmd shell...
        No No, it's my Perl script that calls an exe! I thought you were asking what I was executing with Win32::Process::Create().