Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
作为对这个问题的跟进。我正在使用 perl 脚本中的批处理操作调用 pgnuplot,即 perl 生成一个绘图脚本,然后它使用生成的脚本调用 gnuplot,输出是一个 postscript 文件。
这会导致系统的活动窗口在调用 pgnuplot 时暂时失去焦点。因此,当 perl 脚本运行时,很难使用计算机。有没有办法阻止这种行为?
我正在使用 Win 7 64bit 和 MSYS 来调用 perl。
我现在不在我的 Windows 机器上,但start可能有一个有用的选项。检查start /?。例如,最小化启动 gnuplot 可能会奏效。
start
start /?
我发现这是 Windows 7 上的 gnuplot 4.2 特有的问题。更新到 4.4 解决了这个问题。