Skip to content

Commit

Permalink
fix: check for correct process
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Oct 31, 2023
1 parent b59c39e commit e16a788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tests/modularity.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,10 @@ def pub_and_sub(args):
z_pub_process.wait()

print("Stop subscriber")
if z_pub_process.poll() is None:
if z_sub_process.poll() is None:
# Send "q" command to z_sub to stop it
z_sub_process.stdin.write("q\n")
z_sub_process.stdin.flush()
time.sleep(1)

# Wait for z_sub to finish
z_sub_process.wait()
Expand Down
2 changes: 1 addition & 1 deletion zenohpico.pc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ prefix=/usr/local
Name: zenohpico
Description:
URL:
Version: 0.11.20231019dev
Version: 0.11.20231031dev
Cflags: -I${prefix}/include
Libs: -L${prefix}/lib -lzenohpico

0 comments on commit e16a788

Please sign in to comment.