mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +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);
|
||
|
}
|