Closed denis-koptev closed 4 months ago
https://github.com/Saeshnikov/Linux-monitoring-utility/blob/2248699026640f8507e57af57187cdd8568d69c5/prototype/internal/rpmLayer/RPMlayer.go#L48
SInce you open stdout pipe, you need to Close() it once you are done with it. Then you need to Wait() for a command to avoid defuncts/zombies
Close()
Wait()
https://github.com/Saeshnikov/Linux-monitoring-utility/blob/2248699026640f8507e57af57187cdd8568d69c5/prototype/internal/rpmLayer/RPMlayer.go#L48
SInce you open stdout pipe, you need to
Close()
it once you are done with it. Then you need toWait()
for a command to avoid defuncts/zombies