How to invoke Linux command in C++ program and gather data
How to invoke Linux command in C++ program and gather data
Sometimes you may need invoke a linux command from your C++ program and collect the output of the command. And then possibly the next step is to parse the output and do something interesting with it. To help us with this task we have a very handy pair of linux system function called popen. Today I am going to dive deep down the linux system function popen and see how we can utilise these for…
View On WordPress











