Ticket #34: scheduler.diff
File scheduler.diff, 1.3 KB (added by , 19 years ago) |
---|
-
programs/mythbackend/scheduler.cpp
981 981 if (!startupCommand.isEmpty()) 982 982 { 983 983 startupCommand.replace("$status", startupParam); 984 system(startupCommand.ascii());984 myth_system(startupCommand.ascii()); 985 985 } 986 986 firstRun = false; 987 987 } … … 1215 1215 int state = 0; 1216 1216 if (!preSDWUCheckCommand.isEmpty()) 1217 1217 { 1218 state = system(preSDWUCheckCommand.ascii());1218 state = myth_system(preSDWUCheckCommand.ascii()); 1219 1219 1220 1220 if (WIFEXITED(state) && state != -1) 1221 1221 { … … 1289 1289 1290 1290 // now run the command to set the wakeup time 1291 1291 if (!setwakeup_cmd.isEmpty()) 1292 system(setwakeup_cmd.ascii());1292 myth_system(setwakeup_cmd.ascii()); 1293 1293 } 1294 1294 1295 1295 QString halt_cmd = gContext->GetSetting("ServerHaltCommand", … … 1301 1301 m_mainServer->ShutSlaveBackendsDown(halt_cmd); 1302 1302 1303 1303 // and now shutdown myself 1304 system(halt_cmd.ascii());1304 myth_system(halt_cmd.ascii()); 1305 1305 } 1306 1306 } 1307 1307