On Fri, 5 Jun 2020, Sven Schreiber wrote:
Am 05.06.2020 um 01:30 schrieb F.R.Costa:
> Well I have a script that I run on several different financial markets.
> It takes a long time for some of them. So, I save the sessions at the
> end to preserve all data. Then I am working on a new script to guide
> things from this point. In the first script I use the command "open" or
> "append"" to open the initial GDT files. But, in this second phase,
what
> I have is session files, so I was trying to figure out if there was some
> command that could be added to the script to do this automatically. If
> not, I can always start the file manually and run the script from there.
I know what you mean. In principle you could save all your stuff from
the script with a dataset gdt file and a bundle file (using the bwrite
function). However, I admit that it sometimes would feel more natural to
save the session file instead.
Since there seems to be a use case, we'll support this. In git (not
yet in snapshots, but they'll follow) you can use "open" to open a
session file via script or console (in the GUI program only). No
option is required, but the ".gretl" suffix is needed.
Allin