trick/trick_source/sim_services/Executive/src/Executive_terminate.cpp

14 lines
402 B
C++
Raw Normal View History

2015-02-26 15:02:31 +00:00
#include <iostream>
#include <sstream>
#include "sim_services/Executive/include/Executive.hh"
#include "sim_services/Executive/include/Exec_exception.hh"
#include "sim_services/Executive/include/exec_proto.h"
int Trick::Executive::exec_terminate(const char *file_name, const char *error) {
exec_command = ExitCmd ;
throw Trick::Exec_exception(-1 , file_name , 0 , error) ;
return -1 ;
}