Mir
Public Member Functions | List of all members
mir::test::Popen Class Reference

Popen - A popen c++ wrapper. More...

#include <popen.h>

Public Member Functions

 Popen (std::string const &cmd)
 
bool get_line (std::string &line)
 Read a line from the output of the executed command returns false if there is nothing more to read. More...
 

Detailed Description

Popen - A popen c++ wrapper.

Constructor & Destructor Documentation

◆ Popen()

mir::test::Popen::Popen ( std::string const &  cmd)

Member Function Documentation

◆ get_line()

bool mir::test::Popen::get_line ( std::string &  line)

Read a line from the output of the executed command returns false if there is nothing more to read.


The documentation for this class was generated from the following file:

Copyright © 2012-2018 Canonical Ltd.
Generated on Mon Feb 19 14:05:11 UTC 2018