Temporarily disable early exit of serial shell.

pull/22/head
weetmuts 2019-04-02 19:50:18 +02:00
rodzic 6fc79697c3
commit 7aae7aa6c2
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -195,10 +195,12 @@ void startUsingCommandline(Configuration *config)
command = prefix+"rtl_sdr -f "+freq+" -s 16000000 - 2>/dev/null | "+prefix+"rtl_wmbus";
}
verbose("(rtlwmbus) using command: %s\n", command.c_str());
onChild([command,&manager](){
/* This will have to wait until I can differentiate between
shell childs that did mqtt/curl exits and the serial shell exit.
onChild([command,&manager](){
warning("(rtlwmbus) child process exited! Command was: \"%s\"\n", command.c_str());
manager.get()->stop();
});
});*/
wmbus = openRTLWMBUS(command, manager.get());
break;