|
From: Petr M. <mi...@ph...> - 2009-02-03 08:18:57
|
> > > The "pwd" command from the shell is needed in any case. It is only a matter
> > > of whether it is called directly or called via the internal routine pwd_command().
> > > I would do
> > > a = system("pwd")
> >
> > gnuplot> a=system("pwd")
> > warning: system evaluation not supported by MS-Windows 32 bit
>
> > gnuplot> pwd
> > C:\Program Files\gnuplot\bin
> > gnuplot>
> >
> > So there is a need for something portable, and it's not system("pwd").
>
> Huh. I did not know that.
> So the windows code does not support the system() command?
Well, this depends on executable:
wgnuplot.exe does not support pipes and system() and !command
wgnuplot_pipes.exe supports them (but keeps an attached console window)
---
PM
|