updated missed commands to be string based
This commit is contained in:
parent
5b3308a231
commit
2bfd050880
5 changed files with 15 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue