Comment 2 for bug 317583

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 317583] [NEW] don't use os.kill on win32 platform

Alexander Belchenko пишет:
> os.kill(self.process.pid(), signal.SIGINT)

BTW this code is wrong. At least on Windows.

self.process.pid() returns sip.voidptr object. If I cast it to int with the code
int(self.process.pid()) then I get pointer value, it's not the same as os.getpid()
result (I've checked via debug print in qsubprocess body).