Queuing programs
===

im having trouble approaching a programming problem. I was wondering if you guys can help me about queuing executable programs.

Let's say I have a program that runs an  Nap.exe. This Nap.exe, when executed will sleep for 5 seconds and bring out a message box saying "I've just taken a nap"

What I'm having trouble with is, what if my program runs the Nap.exe and then in the next second runs it again? I would have wanted the message box to pop out at the 5th second and then another one at the 6th second. 

So what I'm thinking right now is developing another program that can accept the commands while it is running and que them and then run Nap.exe in the time that is dictated by the new program.

Is this the best way to approach this?
Any input would be great.
thank you! 

