Richard Oudkerk added the comment:
> 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
----------
nosy: +sbt
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17931>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com