#include <sys/wait.h>
#include <iostream>
+#include <msp/path/utils.h>
#include "builder.h"
#include "externalaction.h"
argv_[j++]=strdup(i->c_str());
argv_[j]=0;
+ if(!work_dir.empty())
+ chdir(work_dir);
execvp(argv_[0], argv_);
cout<<"Couldn't execute "<<argv.front()<<'\n';
exit(1);