mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
7 lines
200 B
C
7 lines
200 B
C
|
#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);
|
||
|
}
|