mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 22:35:43 +00:00
little improvements in processManager class
This commit is contained in:
parent
5bc5fae9b2
commit
bb1fd118f5
2 changed files with 33 additions and 19 deletions
22
bw_client.py
22
bw_client.py
|
|
@ -32,8 +32,6 @@ logging.debug("BOSWatch client has started ...")
|
|||
logging.debug("Import python modules")
|
||||
import argparse
|
||||
logging.debug("- argparse")
|
||||
import subprocess
|
||||
logging.debug("- subprocess")
|
||||
import time
|
||||
logging.debug("- time")
|
||||
|
||||
|
|
@ -43,11 +41,31 @@ from boswatch.network.client import TCPClient
|
|||
from boswatch.network.broadcast import BroadcastClient
|
||||
from boswatch.decoder.decoder import Decoder
|
||||
from boswatch.utils import header
|
||||
from boswatch.processManager import ProcessManager
|
||||
|
||||
|
||||
header.logoToLog()
|
||||
header.infoToLog()
|
||||
|
||||
# multimon = ProcessManager("_bin/win/multimon/multimon-ng.exe", True)
|
||||
# multimon.addArgument("-a POCSAG1200")
|
||||
# multimon.addArgument("-t raw")
|
||||
# multimon.addArgument("-v 3")
|
||||
# multimon.addArgument("poc1200.raw")
|
||||
#
|
||||
# multimon.setStderr(None)
|
||||
# multimon.start()
|
||||
#
|
||||
# logging.debug("go")
|
||||
#
|
||||
# while multimon.isRunning:
|
||||
# data = multimon.readline()
|
||||
# if data is not None:
|
||||
# print(data)
|
||||
#
|
||||
#
|
||||
# exit()
|
||||
|
||||
logging.debug("parse args")
|
||||
# With -h or --help you get the Args help
|
||||
parser = argparse.ArgumentParser(prog="bw_client.py",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue