diff --git a/mininet/node.py b/mininet/node.py index 6275f0cbf4a31040fe4d707409f6ed9dff301dc4..fc24ad21d2dc4d2d97b3f4073702b4a37ee33123 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -291,7 +291,7 @@ def popen( self, *args, **kwargs ): kwargs: Popen() keyword args""" defaults = { 'stdout': PIPE, 'stderr': PIPE, 'mncmd': - [ 'mnexec', '-a', str( self.pid ) ] } + [ 'mnexec', '-da', str( self.pid ) ] } defaults.update( kwargs ) if len( args ) == 1: if type( args[ 0 ] ) is list: @@ -605,7 +605,7 @@ def popen( self, *args, **kwargs ): args: Popen() args, single list, or string kwargs: Popen() keyword args""" # Tell mnexec to execute command in our cgroup - mncmd = [ 'mnexec', '-a', str( self.pid ), + mncmd = [ 'mnexec', '-da', str( self.pid ), '-g', self.name ] if self.sched == 'rt': mncmd += [ '-r', str( self.rtprio ) ]