win32::process capture the output

Discussion in 'Perl Misc' started by king, Jun 5, 2006.

  1. king

    king Guest

    Hi,
    my $process;
    Win32::process::Create(
    $process,
    "C:\\dos\\mem.exe",
    "mem",
    0,
    NORMAL_PRIORITY_CLASS,
    ".",
    ) or die get_formatted_error();

    I want to use the output from mem.
    If i a doing like
    my $process;
    Win32::process::Create(
    $process,
    "C:\\dos\\mem.exe",
    "mem>temp.txt",
    0,
    NORMAL_PRIORITY_CLASS,
    ".",
    ) or die get_formatted_error();

    its not working for me.
    Can you suggest how can i capture the output from a process for further
    processing.
    king, Jun 5, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. rtm
    Replies:
    0
    Views:
    790
  2. Java and Swing
    Replies:
    1
    Views:
    664
    Chris Lambacher
    Oct 24, 2005
  3. Tim Golden
    Replies:
    0
    Views:
    429
    Tim Golden
    Oct 21, 2005
  4. Peter A. Schott
    Replies:
    4
    Views:
    587
    Peter A. Schott
    Feb 7, 2006
  5. Googy
    Replies:
    1
    Views:
    119
    Robert Klemme
    Jan 26, 2007
Loading...

Share This Page