From e16a788cf51bf0b49cd3bd51103baca7a3e1f319 Mon Sep 17 00:00:00 2001 From: Jean-Roland Date: Tue, 31 Oct 2023 11:43:16 +0100 Subject: [PATCH] fix: check for correct process --- tests/modularity.py | 3 +-- zenohpico.pc | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/modularity.py b/tests/modularity.py index 925f7fb49..44c66d8e5 100644 --- a/tests/modularity.py +++ b/tests/modularity.py @@ -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() diff --git a/zenohpico.pc b/zenohpico.pc index bcc1e5d18..e08e8cce2 100644 --- a/zenohpico.pc +++ b/zenohpico.pc @@ -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