updated missed commands to be string based

This commit is contained in:
bharnden 2019-10-11 22:37:33 -07:00
parent 5b3308a231
commit 2bfd050880
5 changed files with 15 additions and 12 deletions

View file

@ -974,9 +974,10 @@ class EmaneManager(ModelManager):
def emanerunning(self, node):
"""
Return True if an EMANE process associated with the given node is running, False otherwise.
Return True if an EMANE process associated with the given node is running,
False otherwise.
"""
args = ["pkill", "-0", "-x", "emane"]
args = "pkill -0 -x emane"
try:
node.node_net_cmd(args)
result = True