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