From 2e4dd134823545b4e9e4a440e38e2f8e6dad9dd5 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Tue, 3 Feb 2015 17:40:20 -0800 Subject: [PATCH] Turn off printPid by default to avoid mnexec fork/exec --- mininet/node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mininet/node.py b/mininet/node.py index 768ff68..c602919 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -258,9 +258,9 @@ class Node( object ): """Send a command, followed by a command to echo a sentinel, and return without waiting for the command to complete. args: command and arguments, or string - printPid: print command's PID?""" + printPid: print command's PID? (False)""" assert self.shell and not self.waiting - printPid = kwargs.get( 'printPid', True ) + printPid = kwargs.get( 'printPid', False ) # Allow sendCmd( [ list ] ) if len( args ) == 1 and isinstance( args[ 0 ], list ): cmd = args[ 0 ]