User Profile

Collapse

Profile Sidebar

Collapse
jrbush82
jrbush82
Last Activity: Jul 7 '07, 03:16 AM
Joined: Jul 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jrbush82
    replied to Read stdout from another program
    in C
    You are correct. My program (b) would read from the standard out of another program (a). The pipe will work for what I'm doing, I was incorrect in assuming that piping like this did not work in Windows. Since it works in both operating systems, this will work for me! Thanks.

    http://www.microsoft.c om/resources/documentation/windows/xp/all/proddocs/en-us/redirection.msp x?mfr=true
    See more | Go to post

    Leave a comment:


  • jrbush82
    started a topic Read stdout from another program
    in C

    Read stdout from another program

    I am trying to read the standard out of another program into an array or string in my C++ program. I need to read each line individually because based on the output depends on what the program will do.

    Example output of the other program is:
    www.thescripts. com|/|192.168.1.10|7 5.126.163.34|37 281|80|1
    www.thescripts. com|/forum/forum129.html|1 92.168.1.10|75. 126.163.34|3680 4|80|1

    As you can see the data is...
    See more | Go to post
No activity results to display
Show More
Working...