Kio
Kio

Reputation: 11

Make CreateProcess get stdin from a string

Pretty simple, but can't really find anything on how to do this. Anyone have any tips or helpful links? thanks!

Upvotes: 1

Views: 990

Answers (1)

Frédéric Hamidi
Frédéric Hamidi

Reputation: 262979

Maybe you want an anonymous pipe.

If so, I'd suggest you have a look at Creating a Child Process with Redirected Input and Output on MSDN.

Upvotes: 3

Related Questions