From nobody Thu Apr 25 20:28:04 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1617720121; cv=none; d=zohomail.com; s=zohoarc; b=MvwljU3MM4/1TKJOToxeaPOFxcYsy/lZhi3Hz6oI7m5VinFZus2lU9CJQiOUt4iBteKNIBizP5DoOfr3xgNWlbwiLH9TyWYXva7wcF46vWDYvZw1R6wHvh0Gyqa/wKloCIf6/O9wi5IL1niApoTBS90+KBjFRLxUCbFw49rQmNM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617720121; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=yT8BIdxEXU+oCjqYzu5FW75AXAjFi1vmVABkJ2TYdNM=; b=DQ28EBTuHKTisjv8QhVP84MGXGp1oNBNxdNmkO6keoVsETA4BKIN5PP+faaWtENNSajW8SOu0Z6AYRTgI0JpFH3ZfcC3Xiqf8/FFna0+Mta6zrv0kOA0BT626u8VyTG4pM5gWuVY0r3ttB63/EJ9UYP2bI2wIW+2aMkZp1MsMpQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1617720121882319.5761163486617; Tue, 6 Apr 2021 07:42:01 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-514-Zf4RfM5OOFW5utP0xCWrzw-1; Tue, 06 Apr 2021 10:41:57 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4631783DD21; Tue, 6 Apr 2021 14:41:52 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 203B35B4BF; Tue, 6 Apr 2021 14:41:52 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id C85E64BB7C; Tue, 6 Apr 2021 14:41:51 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 136Efnj6017911 for ; Tue, 6 Apr 2021 10:41:49 -0400 Received: by smtp.corp.redhat.com (Postfix) id CCAEA17C53; Tue, 6 Apr 2021 14:41:49 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-114-172.ams2.redhat.com [10.36.114.172]) by smtp.corp.redhat.com (Postfix) with ESMTP id 082345DAA5; Tue, 6 Apr 2021 14:41:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617720119; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=yT8BIdxEXU+oCjqYzu5FW75AXAjFi1vmVABkJ2TYdNM=; b=USTzNNtxhwl5cM7KjW59cBxaeU96FRuONyuD+oJBJRhRWm/WzZZ7NhciHN6rtuCA7GHFq4 /eJUplVpnQRIzcr4/6Y9+yKOVMvIp9I5aOnuTztJzNQgdORlWRNb99P5IMxUcMgPiOQCWJ OwW1gCkxbjzXVncrrvd7iTCXZ1Noz/I= X-MC-Unique: Zf4RfM5OOFW5utP0xCWrzw-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH] run: fix spawning of daemons Date: Tue, 6 Apr 2021 15:41:43 +0100 Message-Id: <20210406144143.300252-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The "args" array already contains the binary name, so does not need to be concatenated with "prog". Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- run.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.in b/run.in index b778505a33..9aae27a79e 100644 --- a/run.in +++ b/run.in @@ -159,8 +159,8 @@ else: =20 stopped_units.append(unit) =20 - print("Running %s..." % prog) - ret =3D subprocess.call([prog] + args, env=3Denv) + print("Running '%s'..." % str(" ".join(args))) + ret =3D subprocess.call(args, env=3Denv) except KeyboardInterrupt: pass finally: --=20 2.30.2