renamed utils.check_cmd to utils.cmd, updated host_cmd to allow for shell commands for output redirection
This commit is contained in:
parent
16b7e70c33
commit
78f981463d
15 changed files with 34 additions and 31 deletions
|
@ -1187,6 +1187,6 @@ class Ns2ScriptedMobility(WayPointMobility):
|
|||
return
|
||||
filename = self.findfile(filename)
|
||||
args = f"/bin/sh {filename} {typestr}"
|
||||
utils.check_cmd(
|
||||
utils.cmd(
|
||||
args, cwd=self.session.session_dir, env=self.session.get_environment()
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue