What happens when you try it without the single quotes? result = os.system("pythonbugtest.exe" "test")