aifreedom/2011-HUST-AI-Course-Programming-Exercise-SDK — Issue #3: p.kill() outputs error messages under Windows
Author: thcode
Created: 2011-11-09 03:21:43+00:00
State: open

```
Unexpected error:
Traceback (most recent call last):
File "D:\Develop\robot\runrobot.py", line 171, in
Run(sys.argv[1], sys.argv[2], sys.argv[3])
File "D:\Develop\robot\runrobot.py", line 159, in Run
RunRobot(robot, m, (startX, startY), totalStep, currentTime)
File "D:\Develop\robot\runrobot.py", line 137, in RunRobot
p.kill()
File "C:\Python27\lib\subprocess.py", line 1016, in terminate
_subprocess.TerminateProcess(self._handle, 1)
WindowsError: [Error 5]
```