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).
Alexander Belchenko пишет: self.process. pid(), signal.SIGINT)
> os.kill(
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 process. pid()) then I get pointer value, it's not the same as os.getpid()
int(self.
result (I've checked via debug print in qsubprocess body).