← Back

ofxSubprocess

github.com/egradman/ofxSubprocess · @egradman
OF 0.8 Utilities

wrapper around fork and exec. does not handle pipes data in or out.

2 0 Last commit 12y ago Created 12y ago

README

Summary



This addon currently helps you easily fork and exec an external command.

It would sure be nice if this supported pipe or popen. But it doesn't yet. My TODO list for this addon is currently empty, because it does exactly what I needed it to do when I wrote it.

Usage



ofxSubprocess sp;

string executable = "/usr/bin/yes"; vector<string> args; args.push_back("no!");

sp.setup(executable, args); sp.forkexec();

Get this addon

HTTPS
SSH