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

Add debug(cmd) to errRun()

parent 9bda9848
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,7 @@ def errRun( *cmd, **kwargs ):
cmd = [ str( arg ) for arg in cmd ]
elif isinstance( cmd, list ) and shell:
cmd = " ".join( arg for arg in cmd )
debug( '*** errRun:', cmd, '\n' )
popen = Popen( cmd, stdout=PIPE, stderr=stderr, shell=shell )
# We use poll() because select() doesn't work with large fd numbers,
# and thus communicate() doesn't work either
......
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