Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
b6c8a18d
Commit
b6c8a18d
authored
Oct 22, 2015
by
Alexandre Duret-Lutz
Browse files
* wrap/python/spot.py: Check exit status also when timeout is used.
parent
82ce722d
Changes
1
Hide whitespace changes
Inline
Side-by-side
wrap/python/spot.py
View file @
b6c8a18d
...
...
@@ -380,6 +380,11 @@ def automata(*sources, timeout=None):
# would just kill the shell, not its children.
os
.
killpg
(
proc
.
pid
,
signal
.
SIGKILL
)
raise
else
:
ret
=
proc
.
wait
()
if
ret
:
raise
subprocess
.
CalledProcessError
(
ret
,
filename
[:
-
1
])
finally
:
proc
=
None
p
=
automaton_stream_parser
(
out
,
filename
,
True
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment