In the Linux prompt, I can run sleep 5 && echo hello &
to delay a command to get executed after 5 seconds but how can I do this in Windows 7s' command prompt?
To explain further what I'm trying to do: In the end I need to execute a python script, such as the one below but in Windows 7. The python script needs to finish and exit. Then after a while I want the Windows machine to execute the command.
import subprocess
command = 'sleep 5 && echo hello'
p = subprocess.Popen(command, shell=True)