---------------------------------------------------------------------------
TimeoutExpired Traceback (most recent call last)
<ipython-input-13-d9c814f4e517> in <module>()
----> 1 spot.automaton('sleep 3; cat example.aut |', timeout=1)
/home/adl/git/spot/python/spot/__init__.py in automaton(filename, **kwargs)
471 See `spot.automata` for a list of supported formats."""
472 try:
--> 473 return next(automata(filename, **kwargs))
474 except StopIteration:
475 raise RuntimeError("Failed to read automaton from {}".format(filename))
/home/adl/git/spot/python/spot/__init__.py in automata(timeout, ignore_abort, trust_hoa, debug, *sources)
415 else:
416 try:
--> 417 out, err = proc.communicate(timeout=timeout)
418 except subprocess.TimeoutExpired:
419 # Using subprocess.check_output() with timeout
/usr/lib/python3.5/subprocess.py in communicate(self, input, timeout)
1063
1064 try:
-> 1065 stdout, stderr = self._communicate(input, endtime, timeout)
1066 finally:
1067 self._communication_started = True
/usr/lib/python3.5/subprocess.py in _communicate(self, input, endtime, orig_timeout)
1698
1699 ready = selector.select(timeout)
-> 1700 self._check_timeout(endtime, orig_timeout)
1701
1702 # XXX Rewrite these to use non-blocking I/O on the file
/usr/lib/python3.5/subprocess.py in _check_timeout(self, endtime, orig_timeout)
1089 return
1090 if _time() > endtime:
-> 1091 raise TimeoutExpired(self.args, orig_timeout)
1092
1093
TimeoutExpired: Command 'sleep 3; cat example.aut ' timed out after 1 seconds