diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/defaults/hg-wrapper.c	Wed Jan 09 07:09:37 2013 +0000
     1.3 @@ -0,0 +1,14 @@
     1.4 +#include <pipeline.h>
     1.5 +
     1.6 +
     1.7 +main( int argc, char ** argv){
     1.8 +  pipecmd* p = pipecmd_new("hg");
     1.9 +  
    1.10 +  int i;
    1.11 +  for(i = 1; i < argc; i++){
    1.12 +    pipecmd_arg(p, argv[i]);
    1.13 +  }
    1.14 +
    1.15 +  pipecmd_exec(p);
    1.16 +
    1.17 +}