Checks Popen's return code.
Return "returncode" in main function instead of calling exit.
Mention we are using standard win32 python in comment.
PLATFORM => TARGET_PLATFORM.