[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: io.popen and the Windows platform
- From: meino.cramer@...
- Date: Sun, 1 Jul 2012 09:19:54 +0200
Hi,
I did the following on UNIX, which works fine (the plot pops up as
exspected)
out = io.popen("gnuplot -persist", "w")
out:write("plot sin(x)\n")
Then I did this on Windows:
out = io.popen("C:\\Programme\\gnuplot\\bin\\wgnuplot.exe -persist", "w")
out:write("plot sin(x)\n")
Which opens a gnuplot window and displays the gnuplot prompt and plot
nothing.
I would understand, if under Windows out would be nil.
But it seems I have created a halfpipe ;) : It opens the program
but writing seems not to work?!?!?
Is it possible, to make this working even under windows? And if Yes:
How?
Thank you very much in advance for any help!
Have a nice Sunday! :)
Best regards,
mcc