Closed buhtz closed 3 months ago
ToDo: Check the syslog/journalctl entries. Don't add PID to syslog because it shows the PID by default.
Decided to remove the PID-in-debug-output feature again. No need for it because you can see the PID in the syslog/journalctl.
The process id is shown in each debug message. This is helpfull to distinguish several BIT process running at the same time.
Beside of that did some PEP8 code cleaning and removed deprecated code. The class
Execute
distinguished betweensubprocess.Popen()
(usinglist[str]
) andos.system()
(usingstr
). I removed the use of os.system() and the related code. Also checked viagit grep
if it is used in the wild. Also add a RuntimeError catching the unexpected behavior, that should not happen today.Before
After
Close #1792