Skip to content
Snippets Groups Projects
Commit e7b3a377 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Bug 1626: Added debug line to spawn_process()

parent 0a2b26e2
No related branches found
No related tags found
No related merge requests found
...@@ -178,6 +178,8 @@ def spawn_process(cmd, logger, cwd=None, env=None, max_tries=2, max_timeout=30): ...@@ -178,6 +178,8 @@ def spawn_process(cmd, logger, cwd=None, env=None, max_tries=2, max_timeout=30):
""" """
trycounter = 0 trycounter = 0
while True: while True:
logger.debug(
"Spawning subprocess: cmd=%s, cwd=%s, env=%s" % (cmd, cwd, env))
try: try:
process = Popen( process = Popen(
cmd, cwd=cwd, env=env, stdin=PIPE, stdout=PIPE, stderr=PIPE cmd, cwd=cwd, env=env, stdin=PIPE, stdout=PIPE, stderr=PIPE
......
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