Parent Directory | Revision Log | Patch
revision 37 by torben, Tue Jun 10 14:38:59 2008 UTC | revision 38 by torben, Tue Jun 10 20:25:15 2008 UTC | |
---|---|---|
# | Line 12 ShellExecPlugin::ShellExecPlugin(std::st | Line 12 ShellExecPlugin::ShellExecPlugin(std::st |
12 | void ShellExecPlugin::Execute(GsmModem& modem, SMS& sms) | void ShellExecPlugin::Execute(GsmModem& modem, SMS& sms) |
13 | { | { |
14 | std::string parameters = GetSmsData(sms); | std::string parameters = GetSmsData(sms); |
15 | Util::str_clean(¶meters,";"); | parameters = Util::str_replace(parameters,";"); |
16 | ||
17 | std::string command = _exeCommand + " " + parameters; | std::string command = _exeCommand + " " + parameters; |
18 | int retval = ::system( command.c_str() ); | int retval = ::system( command.c_str() ); |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |