This is the mail archive of the
mailing list for the Cygwin project.
Re: perl winpid?
- From: Reini Urban <rurban at x-ray dot at>
- To: cygwin <cygwin at cygwin dot com>
- Date: Sun, 06 Feb 2005 19:11:24 +0100
- Subject: Re: perl winpid?
- References: <email@example.com>
Reini Urban schrieb:
I feel quite stupid now, but found nothing simple.
How to get the winpid from the current process in cygwin's perl?
$$ is the cygwin pid which is different from the windows pid
Im just finishing perl-linwin32, and this is the last failing test,
assuming $$ == WINPID
Is GetCurrentProcessId() somewhere in Win32CORE or should I add it to
Win32::API is unfortunately not in libwin32, where it would be a simple
$GetCurrentProcessId = new Win32::API( "kernel32.dll",
"GetCurrentProcessId", , N )
In the meantime I added it as patch in
This will be in perl-libwin32-0.191-2, but I'll wait a bit longer for
We should provide a more generic cygwin pid => winpid translator, but in
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html