We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02b9e46 commit cb5f48aCopy full SHA for cb5f48a
test/wasi-testsuite-adapter.py
@@ -6,8 +6,17 @@
6
import os
7
import shlex
8
import sys
9
+import signal
10
import subprocess
11
12
+
13
+def handler(a, b):
14
+ sys.exit(1) # this terminates subrpocess.run
15
16
17
+signal.signal(signal.SIGTERM, handler)
18
19
20
# https://github.com/WebAssembly/wasi-testsuite/pull/46
21
executable = os.getenv("TEST_RUNTIME_EXE")
22
if executable is None:
0 commit comments