annotate defaults/hg-wrapper.c @ 12:e056798af879

fixing problem with shell interpretation.
author Robert McIntyre <rlm@mit.edu>
date Wed, 09 Jan 2013 07:09:37 +0000
parents
children dcdeabe9e903
rev   line source
rlm@12 1 #include <pipeline.h>
rlm@12 2
rlm@12 3
rlm@12 4 main( int argc, char ** argv){
rlm@12 5 pipecmd* p = pipecmd_new("hg");
rlm@12 6
rlm@12 7 int i;
rlm@12 8 for(i = 1; i < argc; i++){
rlm@12 9 pipecmd_arg(p, argv[i]);
rlm@12 10 }
rlm@12 11
rlm@12 12 pipecmd_exec(p);
rlm@12 13
rlm@12 14 }