From nobody Sun Feb 8 23:26:50 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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 170.10.133.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=1692103551; cv=none; d=zohomail.com; s=zohoarc; b=cEJEx3TWlsPAdN+c9/Z4iei5jytCxRDN8LAPGPvbiyAWGQNZiSLJj0bAA7XhBuCqfGzQKezNtKkzJc5M1MKdY9PI/wi491vlhjSbbSJorMHpkvIN2c+bwL/FhMgKL1BmmPsmK499nHxoVOtAS+s5TrzPgjceu9QdHygoeRA5sQ8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692103551; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=V1hWKR9iSF7bKczAoNqA6Md3uEDsEP7VuG/8Jd5TTX0=; b=O2lgtYLxc17tE8AAlHE8RHJGrljR8pzNSXaW/1vqRT85SarBcpp/tojgnnf7SJdGTidZcaLziu1DOy79fiF5kTX9VWCtIj1Oi/foz4y7xmQP37ySb2TDljtI/rqv9KRiRBkkIy1XJDjHDWdtxzvPF0qjfRPA35KZsausDunH6Kc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 169210355144169.57423758884534; Tue, 15 Aug 2023 05:45:51 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-176-ZA3jOc-7PA-NjmE5RmFFLQ-1; Tue, 15 Aug 2023 08:45:47 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C969E185A7AF; Tue, 15 Aug 2023 12:45:43 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B307F40D2839; Tue, 15 Aug 2023 12:45:43 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B576219465B3; Tue, 15 Aug 2023 12:45:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 0F2CD194658C for ; Tue, 15 Aug 2023 12:45:40 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id E240F140E91B; Tue, 15 Aug 2023 12:45:39 +0000 (UTC) Received: from localhost.localdomain (unknown [10.43.2.36]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8918A140E917 for ; Tue, 15 Aug 2023 12:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692103550; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=V1hWKR9iSF7bKczAoNqA6Md3uEDsEP7VuG/8Jd5TTX0=; b=bOek3ZIMgI+gAdVNU6ol4N/Be5rQ/+1Rl7oLuWaeCpqbRZB1EyRYSbvy2KNrE6AL8h/Bex W1PSsY9XtAN7MmtFH3w1lrcBipJEujb7sQ7oZuzWuJHfhGgGfyqk0d1Y1HXJ78cdmIxNGP lKEfr1Kq5aJ6kQPOvAkXXkyrRZ43bAQ= X-MC-Unique: ZA3jOc-7PA-NjmE5RmFFLQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/3] scripts: Avoid spawning yet another process in meson-python.sh Date: Tue, 15 Aug 2023 14:45:35 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1692103551727100001 Content-Type: text/plain; charset="utf-8"; x-default="true" The aim of message-python.sh wrapper is to set some environment variables and then execute whatever it was called with (usually a python binary). Well, we can use 'exec' to replace the shell process with python instead of forking yet another process. Signed-off-by: Michal Privoznik Reviewed-by: J=C3=A1n Tomko --- scripts/meson-python.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/meson-python.sh b/scripts/meson-python.sh index 9ba670fc1a..52b37be926 100755 --- a/scripts/meson-python.sh +++ b/scripts/meson-python.sh @@ -1,3 +1,3 @@ #!/bin/sh =20 -LC_ALL=3D LANG=3DC LC_CTYPE=3Den_US.UTF-8 "$@" +LC_ALL=3D LANG=3DC LC_CTYPE=3Den_US.UTF-8 exec "$@" --=20 2.41.0