Parent Directory | Revision Log | Patch
revision 56 by torben, Wed Jun 11 15:55:18 2008 UTC | revision 86 by torben, Mon Jun 16 07:39:56 2008 UTC | |
---|---|---|
# | Line 27 void ShellExecPlugin::Execute(IGsmModem& | Line 27 void ShellExecPlugin::Execute(IGsmModem& |
27 | command += " "; | command += " "; |
28 | command += parameters; | command += parameters; |
29 | } | } |
30 | int retval = ::system( command.c_str() ); | int retval = Util::my_system( command.c_str() ); |
31 | ||
32 | std::string message; | std::string message; |
33 | if (retval == -1) | if (retval == -1) |
# | Line 35 void ShellExecPlugin::Execute(IGsmModem& | Line 35 void ShellExecPlugin::Execute(IGsmModem& |
35 | else | else |
36 | message = "OK"; | message = "OK"; |
37 | ||
38 | modem.SendSms(sms.sender, message ); | modem.SendSms(sms.sender, message, false ); |
39 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |