Skip to content
Snippets Groups Projects
Commit 02b16495 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

gmshpy : remove python SIGINT signal handler so that CTRL-C exit gmsh

immediately and not at the end of the current C call.
parent 74cc5094
No related branches found
No related tags found
No related merge requests found
# set Ctrl-C to default signal (terminates immediately)
import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)
${GMSH_PYTHON_MODULES_INCLUDE_CODE}
GmshInitialize()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment