Moritz Lennert wrote:
> Any hint how to allow Ctrl-C to stop all subprocesses ?
If you can get their PIDs, you should be able to use os.setpgid() to
move them into the same process group as the main script. Ctrl-C (by
default) sends SIGINT to all processes in the foreground process
group.
--
G
* Moritz Lennert [2018-03-09 09:16:01 +0100]:
Hi Nikos !
Am 9. März 2018 09:01:25 MEZ schrieb Nikos Alexandris
:
* Moritz Lennert [2018-03-08 15:05:46
+0100]:
And another question on GridModule:
For the same module using GridModule to split the task of edge
detection in a raster map into
Hi Nikos !
Am 9. März 2018 09:01:25 MEZ schrieb Nikos Alexandris
:
>* Moritz Lennert [2018-03-08 15:05:46
>+0100]:
>
>>And another question on GridModule:
>>
>>For the same module using GridModule to split the task of edge
>>detection in a raster map into many parallel tasks, when I want to
>>
* Moritz Lennert [2018-03-08 15:05:46 +0100]:
And another question on GridModule:
For the same module using GridModule to split the task of edge
detection in a raster map into many parallel tasks, when I want to
stop the module run using Ctrl-C I get tons of
Process PoolWorker-315:
Traceba
And another question on GridModule:
For the same module using GridModule to split the task of edge detection
in a raster map into many parallel tasks, when I want to stop the module
run using Ctrl-C I get tons of
Process PoolWorker-315:
Traceback (most recent call last):
Traceback (most recen