In Progress

fork/pipe/stdin/stdout short task

Hello freelancers!

I need in next thing:

1. C program under linux

2. able to execute for some binary (execv for example)

3. push data to pipe to executable STDIN child

4. create next one child with exec's STDOUT reader (since my exec can provide output when data comes by STDIN)

5. read string in parent.

6. read executable return code in parent.

if your code will be looks like function and accepts std::string as executable name, std::vector <std::string> as params and return exec return code and data received from exec (by param, for example) it would be nice. Or by "class" mode (C++)

Skills: C Programming

See more: stdin stdout pipe fork, fork stdout, pipe stdin stdout, linux fork stdin stdout, fork pipe stdin, stdin fork, exec stdin stdout, fork pipe function accepts stdin, vector vector string, vector string, string vector, read vector, program data vector, my name in binary code, my name in binary, freelancers program, freelancers output, freelancers name, c vector example, pipe fork, fork exec pipe stdin stdout, fork stdout stdin, fork stdin linux, stdin pipe exec, fork stdin

About the Employer:
( 1 review ) Prague, Czech Republic

Project ID: #190792