Hi. I am using a system call:
system "wgnuplot.exe -persist $plotstring";
within a large perlTK program under ActiveState 5.8.8. The plot works perfectly, however, upon closing the plot, the main program freezes and looses all functionality. All of the top levels become white and imobile. This does not seem to happen from a simple script style perl program. I have tried backticks, system, a system call within an eval, and an exec. The exec works but kills the main program. I also tried running the system call as a thread and then detaching it. None of these worked. I would greatly appreciate any suggestions. Thanks!