Reputation: 64366
are there any crossplatform tools for C++ which will help me to run child systme processes (all I need is just running and redirecting stdout into parent). I'm using boost, and I found there boost::process, but it's unofficial. Are there any analogues?
Upvotes: 1
Views: 472
Reputation: 249642
If you just need to run a process and get its output, how about popen(3)
? It's widely used, very "official," and sounds like it does what you're looking for, without using Boost.
Upvotes: 1
Reputation: 24184
Boost.Process isn't official yet in the sense it hasn't been accepted into Boost. However, if it works for you why not use it?
Upvotes: 1
Reputation: 24584
Does it work? If so, why does it bother you whether it's "official" or not? Presumably, the license is the same as boost's, and you have the source code available, so you can fix potential bugs. Where's the problem?
Upvotes: 0