This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients brian.curtin, mark.dickinson, pitrou, python-dev, sbt, serhiy.storchaka, tim.golden, vstinner
Date 2013-06-05.11:14:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370430870.91.0.875902192786.issue17931@psf.upfronthosting.co.za>
In-reply-to
Content
> pid_t is HANDLE on Windows, which is a pointer.

I think this is wrong.

The signature of getpid() is

    int _getpid(void);

so pid_t should be equivalent to int.

The complication is that the return values of spawn*() etc are process handles (cast to intptr_t), not pids:

    intptr_t _spawnv(int mode, const char *cmdname, const char *const *argv);

See

    http://msdn.microsoft.com/en-us/library/t2y34y40%28v=vs.100%29.aspx
    http://msdn.microsoft.com/en-us/library/7zt1y878%28v=vs.80%29.aspx
History
Date User Action Args
2013-06-05 11:14:31sbtsetrecipients: + sbt, mark.dickinson, pitrou, vstinner, tim.golden, brian.curtin, python-dev, serhiy.storchaka
2013-06-05 11:14:30sbtsetmessageid: <1370430870.91.0.875902192786.issue17931@psf.upfronthosting.co.za>
2013-06-05 11:14:30sbtlinkissue17931 messages
2013-06-05 11:14:30sbtcreate