diff --git a/mininet/node.py b/mininet/node.py index b0ad36d..c8d34e4 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -702,8 +702,8 @@ class CPULimitedHost( Host ): args: Popen() args, single list, or string kwargs: Popen() keyword args""" # Tell mnexec to execute command in our cgroup - mncmd = [ 'mnexec', '-g', self.name, - '-da', str( self.pid ) ] + mncmd = kwargs.pop( 'mncmd', [ 'mnexec', '-g', self.name, + '-da', str( self.pid ) ] ) # if our cgroup is not given any cpu time, # we cannot assign the RR Scheduler. if self.sched == 'rt':