Web lists-archives.com

Re: [ANNOUNCEMENT] TEST: Cygwin 3.0.0-0.7





On 2/8/19 12:31 PM, Corinna Vinschen wrote:
> On Feb  8 07:46, Michael Haubenwallner wrote:
>>
>> On 2/7/19 7:27 PM, Corinna Vinschen wrote:
>>> On Feb  7 17:14, Michael Haubenwallner wrote:
>>>> On 2/5/19 4:18 PM, Corinna Vinschen wrote:
>>>>> Hi folks,
>>>>>
>>>>>
>>>>> I uploaded a new Cygwin test release 3.0.0-0.7
>>>>>
>>>>
>>>>> Please test.
>>>>>
>>>>
>>>> There's another regression - regarding spawn, exec and waitpid,
>>>> loosing the exitstatus somewhere in between:
>>>>
>>>
>>> Any chance you could take a look?  I haven't much time for Cygwin the
>>> next couple of days.
>>
>> Ok, will do. Any hints probably?
> 
> Thanks!  The only thing coming to mind is the removal of the parent
> handle when switching PID method.  Or maybe the permission restriction
> on the process handles?

For now it seems like there's an inconsistency with PIDs:
A first process PID 100, receives PID 101 from spawn(),
but in the new process getpid() returns 102:

$ ./dospawn /bin/bash -c 'echo $$'
12625
waitpid: pid 12624 status 0x0

/haubi/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple