rlm@12: #include rlm@12: rlm@12: rlm@12: main( int argc, char ** argv){ rlm@12: pipecmd* p = pipecmd_new("hg"); rlm@12: rlm@12: int i; rlm@12: for(i = 1; i < argc; i++){ rlm@12: pipecmd_arg(p, argv[i]); rlm@12: } rlm@12: rlm@12: pipecmd_exec(p); rlm@12: rlm@12: }