I am trying to start another code to process when there is a packet seen in tshark and also how to set a time of say 10 minutes when there is no packets seen to turn the secondary process down. Is there a way to do it? I will be using it to automate a process