Hi,
I'm having some trouble with a Python script in progress (nothing really
to show yet) for (Win-)GRASS 7. The thing is that when I call an
external program via subprocess and then hit the "Stop" button in GRASS
GUI, the subprocess keeps going. Alright, I know that in Windows I
cannot kill subprocess directly, but have to use win32api or something
similar. But in case of user abort it doesn't even reach that far to use
anything specified with atexit.register(). The exit handler works fine
when operation is not aborted however. What would be the proper way to
implement the exit handler in this case?
Cheers,
Allar
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user