In my sketch I open Gnuplot to plot some data. I use the "-persist" parameter to make the plot window stay open until I stop the sketch.
Strangely, if I have a network client that receives some data from a server, Gnuplot will terminate after a couple of seconds.
The test code below works fine without a Client (if line 12. is commented out). Could someone replicate the problem? You need, of course, Gnuplot installed.