I have a method in my express application that executes a command in a shell and gets the outputs by using "spawn" and it\'s listeners that are triggered for every