// Copyright 2008 Crip5 Dominique Pastre #include #include main(argc,argv) int argc; char *argv[]; { char cmd[256]; // to build the command (string) // the executable is included in the number of arguments strcpy(cmd,"swipl -f muscadet-en -g true "); if (argc >= 2 ) { strcat(cmd," < /dev/null \n tptp(["); // tptp( int i; strcat(cmd,"'"); // ' strcat(cmd,argv[1]); // problem ou path strcat(cmd,"'"); // ' for (i=2;i