Skip to content
Snippets Groups Projects
Commit 2e4dd134 authored by Bob Lantz's avatar Bob Lantz
Browse files

Turn off printPid by default to avoid mnexec fork/exec

parent 19331ca2
No related branches found
No related tags found
No related merge requests found
......@@ -258,9 +258,9 @@ def sendCmd( self, *args, **kwargs ):
"""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 ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment