Page 1 of 1

Little break/pause in a program

Posted: Fri Dec 13, 2013 4:24 am
by shm83
Hi to all.

I would like to know if there is a command which allows me to "pause" a program for a concrete time (by code).

What I want to do is launching an eviews program, in which I launch an external software, and after some time (let´s say 3 seconds) it has to read a text file and then continue executing the code.

Another way would be that the Eviews program pauses its own execution until the external software has finished, but I don´t know either if it would be possible.


Thank you in advance

Re: Little break/pause in a program

Posted: Fri Dec 13, 2013 7:24 am
by EViews Gareth
Sleep

Re: Little break/pause in a program

Posted: Mon Dec 16, 2013 9:07 am
by shm83
That works perfectly. Also the code to check if other process is finished would be quite difficult.

Thank you Gareth