This will open a Windows cmd shell from Maya, but not block Maya in the process:
import subprocess subprocess.Popen("start cmd", shell=True)