pantry/projects/libpipeline.gitlab.io/libpipeline/test.c

7 lines
200 B
C
Raw Normal View History

#include <pipeline.h>
int main() {
pipeline *p = pipeline_new();
pipeline_command_args(p, "echo", "Hello world", NULL);
pipeline_command_args(p, "cat", NULL);
return pipeline_run(p);
}