开发者

How to stop gnuplot from grabbing focus of active window? (Windows)

开发者 https://www.devze.com 2023-02-17 19:24 出处:网络
As a follow up to this question here. I am calling pgnuplot using batch operation from a perl script, i.e. perl generates a plotting script, then it invokes gnuplot with the generated script and the o

As a follow up to this question here. I am calling pgnuplot using batch operation from a perl script, i.e. perl generates a plotting script, then it invokes gnuplot with the generated script and the output is 开发者_C百科a postscript file.

This causes the system's active window to momentarily lose focus whenever pgnuplot is called. Hence it is difficult to use the computer when the perl script is running. Is there a way to stop this behavior?

I am using Win 7 64bit and MSYS to invoke perl.


I'm not at my Windows machine right now, but start might have an option that will help. Check start /?. For example, starting gnuplot minimised might do the trick.


I have found this to be a problem specific to gnuplot 4.2 on Windows 7. Updating to 4.4 solved the problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消