Turn off printPid by default to avoid mnexec fork/exec

This commit is contained in:
Bob Lantz
2015-02-03 17:40:20 -08:00
parent 19331ca287
commit 2e4dd13482
+2 -2
View File
@@ -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 ]