--- smsdaemon/plugins/ShellExecPlugin.cpp 2008/06/11 15:55:18 56 +++ smsdaemon/plugins/ShellExecPlugin.cpp 2008/06/16 10:21:02 90 @@ -1,5 +1,6 @@ #include "ShellExecPlugin.h" -#include "GsmModem.h" +#include "IGsmModem.h" +#include "Sms.h" #include "util.h" @@ -27,7 +28,7 @@ command += " "; command += parameters; } - int retval = ::system( command.c_str() ); + int retval = Util::my_system( command.c_str() ); std::string message; if (retval == -1) @@ -35,5 +36,5 @@ else message = "OK"; - modem.SendSms(sms.sender, message ); + modem.SendSms(sms.sender, message, false ); }