Is there an equivalent to Posix popen() in Win32 API?

1153200 pts.
Tags:
API
Linux
Win32
Would anyone happen to know if there's an equivalent to the Linux/Unix stdio.h popen() function in Win32 API? I would appreciate any help. Thanks!
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

If used in a Windows program, the _popen function returns an invalid file pointer that causes the program to stop responding indefinitely. _popen works properly in a console application. To create a Windows application that redirects input and output, see Creating a Child Process with Redirected Input and Output in the Windows SDK.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: