fix pid is not a number bug
Merge pull request #8 from xiaoji121/master

fix pid is not a number bug