Thread: unix popen equivalent

  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    15

    unix popen equivalent

    What's the Windows API function equivallent for the Unix popen() function to read/write the opened program's stdout/stdin?

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    If you're using a console program, MSVC supports the _popen function. Otherwise, see MSDN: Creating a Child Process with Redirected Input and Output.

  3. #3
    Registered User
    Join Date
    Oct 2004
    Posts
    15
    Ok tnx.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to program in unix
    By Cpro in forum Linux Programming
    Replies: 21
    Last Post: 02-12-2008, 10:54 AM
  2. Setting up a Unix box
    By @nthony in forum Tech Board
    Replies: 6
    Last Post: 07-22-2007, 10:22 PM
  3. Header File Question(s)
    By AQWst in forum C++ Programming
    Replies: 10
    Last Post: 12-23-2004, 11:31 PM
  4. UNIX fork() equivalent in Windows
    By argon in forum Windows Programming
    Replies: 2
    Last Post: 01-04-2002, 01:56 PM
  5. About Unix Programming - Making a career desision
    By null in forum C Programming
    Replies: 0
    Last Post: 10-14-2001, 07:37 AM