Hi Alin,
Comments inlined.
Thanks for review,
Paul
> -Original Message-
> From: Alin Serdean
> Sent: Friday, July 15, 2016 2:28 AM
> To: Paul Boca; dev@openvswitch.org
> Subject: RE: [ovs-dev] [PATCH V6 12/17] python tests: Ported Python daemon
> to Windows
>
&
6 3:38 PM
> Către: dev@openvswitch.org
> Subiect: [ovs-dev] [PATCH V6 12/17] python tests: Ported Python daemon to
> Windows
>
> Used subprocess.Popen instead os.fork (not implemented on windows) and
> repaced of os.pipe with Windows pipes.
>
> To be able to identify t
>
> Hi Alin,
>
> It was easier for me to call Windows APIs from python, that mimics
> detach_process, and to be in a better control on what's happening, than
> creating a *DLL and loading it in order to call this function.
> *On Windows the LIB file cannot be loaded as-is; a DLL with entry point
>
On 13 July 2016 at 07:49, Alin Serdean
wrote:
> > -Mesaj original-
> > De la: Paul Boca
> > Trimis: Wednesday, July 13, 2016 11:24 AM
> > Către: Alin Serdean ;
> > dev@openvswitch.org
> > Subiect: RE: [ovs-dev] [PATCH V6 12/17] python tests: Ported Pyt
> -Mesaj original-
> De la: Paul Boca
> Trimis: Wednesday, July 13, 2016 11:24 AM
> Către: Alin Serdean ;
> dev@openvswitch.org
> Subiect: RE: [ovs-dev] [PATCH V6 12/17] python tests: Ported Python
> daemon to Windows
>
> Hi Alin,
>
> It was easier for me
nux guy can add his opinion about this.
Thanks,
Paul
> -Original Message-
> From: Alin Serdean
> Sent: Tuesday, July 12, 2016 10:54 PM
> To: Paul Boca; dev@openvswitch.org
> Subject: RE: [ovs-dev] [PATCH V6 12/17] python tests: Ported Python daemon
> to Windows
>
&g
.
> -Mesaj original-
> De la: dev [mailto:dev-boun...@openvswitch.org] În numele Paul Boca
> Trimis: Wednesday, July 6, 2016 3:38 PM
> Către: dev@openvswitch.org
> Subiect: [ovs-dev] [PATCH V6 12/17] python tests: Ported Python daemon to
> Windows
>
> Used subproce
Used subprocess.Popen instead os.fork (not implemented on windows)
and repaced of os.pipe with Windows pipes.
To be able to identify the child process I added an extra parameter
to daemon process '--pipe-handle', this parameter also contains
the parent Windows pipe handle, used by the child to sig