diff options
Diffstat (limited to 'src/align_detector.c')
-rw-r--r-- | src/align_detector.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/align_detector.c b/src/align_detector.c index 872d0e64..e6c71966 100644 --- a/src/align_detector.c +++ b/src/align_detector.c @@ -31,6 +31,7 @@ #include <config.h> #endif +#include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <string.h> @@ -308,6 +309,8 @@ int main(int argc, char *argv[]) fprintf(fh, "end\n"); fclose(fh); + unlink("millepede.res"); + r = system("pede millepede.txt"); if ( r == -1 ) { ERROR("Failed to run Millepde: %s\n", strerror(errno)); |