Page 1 of 1

How to close a program

Posted: Mon Jun 06, 2011 6:03 am
by aleksey73
Hi,
I was wondering how works the "close" command. I would like to close a program by using it, but I tried many ways and it never worked. Suppose my program is called "program", if i call
close program
or
close program.prg
it doesn't work... Does someone know how to make it works?
Thank you very much!

How to close a program

Posted: Mon Jun 06, 2011 6:43 am
by EViews Gareth
You cannot close a program.

Re: How to close a program

Posted: Fri Jun 24, 2011 1:25 pm
by jasmin
I have similar issue. I have a program to recalculate some series. When I run the program (e.g. run program_a), it recalculates my series, but leaves the "program window" open on the screen. I just need my series updated, I do not need the whole program window opened on the screen. So each time I run a program, I need to manually close the “program window”. This is not a big deal, but it annoys. Is there a way how to suppress the “program window” from opening when I run the program?

Re: How to close a program

Posted: Fri Jun 24, 2011 1:27 pm
by EViews Gareth
Use exec rather than run.

Re: How to close a program

Posted: Fri Jun 24, 2011 2:14 pm
by jasmin
Thanks, "exec" does exactly what I want, and I can now even run it directly from the Add-In menu; I love Eviews.