windows os 下的 xojo 和 gnuplot -- 没有任何反应
xojo and gnuplot under windows os -- nothing happen
实际上,我可以使用 xojo 在 linux os 下执行任何 gnuplot 命令(见屏幕截图)。
但是,在 windows os 下,什么也没有发生。有时它给我 errorcode = -2
(shell 超时),有时什么也没有(空结果)。
为什么相同的代码在不同的os下给出不同的结果?
仍然无法弄清楚如何在 windows 上执行 gnuplot。最好的方法(到目前为止)是直接执行 gnuplot.exe
。
dim file as FolderItem = SpecialFolder.Applications.Child("gnuplot").Child("bin").Child("gnuplot.exe")
Shell1.Execute(file.NativePath)
实际上,我可以使用 xojo 在 linux os 下执行任何 gnuplot 命令(见屏幕截图)。
但是,在 windows os 下,什么也没有发生。有时它给我 errorcode = -2
(shell 超时),有时什么也没有(空结果)。
为什么相同的代码在不同的os下给出不同的结果?
仍然无法弄清楚如何在 windows 上执行 gnuplot。最好的方法(到目前为止)是直接执行 gnuplot.exe
。
dim file as FolderItem = SpecialFolder.Applications.Child("gnuplot").Child("bin").Child("gnuplot.exe")
Shell1.Execute(file.NativePath)