← Back

ofxProcess

github.com/Furkanzmc/ofxProcess · @Furkanzmc
OF 0.9 Utilities

ofxProcess is a simple wrapper to use Poco::Process and read/write operations for a process.

0 0 Last commit 9y ago Created 9y ago

README

ofxProcess



ofxProcess is a simple wrapper to use Poco::Process and read/write operations for a process.

You can:

Example



``c++ void ofApp::setup() { std::vector<std::string> args;

if defined(_WIN32)

m_Process.setup("ipconfig", "", args);

else

args.push_back("ipinfo.io/ip"); m_Process.setup("curl", "", args);

endif // defined(_WIN32)



m_Process.launch(); }

void ofApp::keyReleased(int key) { if (key == 'r') { std::cout << "Reading...\n" << std::flush; std::cout << m_Process.read() << std::endl; } }
``

Get this addon

HTTPS
SSH