|
From: Benjamin L. <bj...@gm...> - 2011-02-16 07:11:09
|
> I'm wondering, is it likely that gnuplot would have a problem on > MS Windows if the name of a plot file given as a command line > argument contained an apostrophe? > > I ask because of a problem report from a user of my program, > gretl, which calls gnuplot: in this case the command line (passed > to the Windows API function CreateProcess) would look something > like: > > "c:\path\to\wgnuplot.exe" "c:\users\silly's\subdir\plot.gp" > > The command is not working; I'm not certain the apostrophe is the > problem but it seems a likely candidate. (I'm pretty sure the plot > file itself is well-formed.) How exactly is it "not working"? I tested your example using a simple tes't.gp file containing set term windows plot sin(x) and called c:\path\to\wgnuplot "c:\path\to\tes't.gp" and it works as expected. To make sure it's not your plot file that's causing an error, why don't you try it from within wgnuplot by load "c:\path\to\whatever.gp" and see if there are errors? benjamin |