1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#include <exception> #include <termio.h> #include "manager.h" using namespace std; int main(int argc,char **argv){ set_terminate([](){ __asm("int3\n\t"); }); installCLhandler(true); Manager manager; for(int i=1;i<argc;i++){ manager.receive({"open_file",argv[i]}); } return manager.io(); }