Skip to content
Snippets Groups Projects
Commit e9013d76 authored by Bob Lantz's avatar Bob Lantz
Browse files

Fix pid regex to eat \r\n

parent c49b216c
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ def monitor( self, timeoutms=None, findPid=True ):
self.waitReadable( timeoutms )
data = self.read( 1024 )
# Look for PID
marker = chr( 1 ) + r'\d+'
marker = chr( 1 ) + r'\d+\r\n'
if findPid and chr( 1 ) in data:
markers = re.findall( marker, data )
if markers:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment