You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to create a utility function which does the read, close and returning of the output when using io.popen().
This would also ensure that whoever will put their hands on this code will keep reusing our function and avoid messing it up again by forgetting to close a pipe.
The text was updated successfully, but these errors were encountered:
The current problem I am facing with this is that if we create a function in monitoring_utils.lua and load it, then the io defined in first table, TestNeighbor or TestInterface is getting used by the next one, i.e. TestNetJSON
It would be good to create a utility function which does the read, close and returning of the output when using io.popen().
This would also ensure that whoever will put their hands on this code will keep reusing our function and avoid messing it up again by forgetting to close a pipe.
The text was updated successfully, but these errors were encountered: