view 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
line wrap: on
line source
1 #include <pipeline.h>
4 main( int argc, char ** argv){
5 pipecmd* p = pipecmd_new("hg");
7 int i;
8 for(i = 1; i < argc; i++){
9 pipecmd_arg(p, argv[i]);
10 }
12 pipecmd_exec(p);
14 }