9 |
{ |
{ |
10 |
} |
} |
11 |
|
|
12 |
void ShellExecPlugin::Execute(GsmModem& modem, SMS& sms) |
void ShellExecPlugin::Execute(IGsmModem& 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() ); |