liblauch 1.0.0 review
Downloadliblauch is a simple library enables you you launch another program from within a program
|
|
liblauch is a simple library enables you you launch another program from within a program. It handles the intricacies of fork(2) and execve(2) for you.
It returns a couple of pipes that are connected to the launched program's stdin and stdout. It also contains a function to terminate the launched program.
BUILDING THE LIBRARY
Invoking the "make" command gives you a list of all possible options.
The usual invocation for a system-wide installation of the library would be to do "make all", "make test", login as root, and then do a "make install".
Alternatively you can embed the library in your own program, by sticking it into a subdirectory, and invoking "make static" there.
USING THE LIBRARY
See the manual pages launch_program.3 and kill_program.3 on how to use the functions.
liblauch 1.0.0 keywords