pmb.helpers.run_core.background: tweak log msg (MR 1996)

This makes the output mode apparent
This commit is contained in:
Johannes Marbach 2020-11-27 20:29:04 +01:00 committed by Oliver Smith
parent 97a9633af4
commit de175bfb1f
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def background(args, cmd, working_dir=None):
""" Run a subprocess in background and redirect its output to the log. """
ret = subprocess.Popen(cmd, stdout=args.logfd, stderr=args.logfd,
cwd=working_dir)
logging.debug("Started process in background with PID " + str(ret.pid))
logging.debug(f"New background process: pid={ret.pid}, output=background")
return ret