void SC_LanguageClient::executeFile(const char* fileName) { std::string escaped_file_name(fileName); int i = 0; while (i < escaped_file_name.size()) { if (escaped_file_name[i] == '\\') escaped_file_name.insert(++i, 1, '\\'); ++i; } setCmdLinef("thisProcess.interpreter.executeFile(\"%s\")", escaped_file_name.c_str()); runLibrary(s_interpretCmdLine); }
void SC_LanguageClient::executeFile(const char* fileName) { setCmdLinef("thisProcess.interpreter.executeFile(\"%s\")", fileName); runLibrary(s_interpretCmdLine); }