Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Vertex Program #4

Open
tsung-wei-huang opened this issue Mar 7, 2018 · 0 comments
Open

Support for Vertex Program #4

tsung-wei-huang opened this issue Mar 7, 2018 · 0 comments
Assignees

Comments

@tsung-wei-huang
Copy link
Owner

tsung-wei-huang commented Mar 7, 2018

The vertex will support running external program (exec) in the release 0.2.2. Example usage is like :

G.vertex().on([](dtc::Vertex& v) { std::cout << "ready for ls\n"; }).program("/bin/ls / -al");

The external program will have DTC_BRIDGES in its environment variable to store the file descriptor mapping for its input/output stream connections with other vertices or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant