|
From: Allin C. <cot...@wf...> - 2011-02-16 17:09:19
|
On Wed, 16 Feb 2011, Benjamin Lindner wrote: > > 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"? Exit status 1; I'd like more information but I don't have it at present. > 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. OK, thanks for testing. Then it seems it's not the plot filename that's the problem. I'll pursue other possibilities. Allin Cottrell |