Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9R5Q-0005Ic-P6 for pgadmin-hackers@arkaria.postgresql.org; Tue, 09 Feb 2021 11:21:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l9R5P-0007Vi-Kn for pgadmin-hackers@arkaria.postgresql.org; Tue, 09 Feb 2021 11:21:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9R5P-0007Vb-FA for pgadmin-hackers@lists.postgresql.org; Tue, 09 Feb 2021 11:21:39 +0000 Received: from mail-oo1-xc30.google.com ([2607:f8b0:4864:20::c30]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l9R5I-0004nU-Lc for pgadmin-hackers@lists.postgresql.org; Tue, 09 Feb 2021 11:21:38 +0000 Received: by mail-oo1-xc30.google.com with SMTP id e17so2640449oow.4 for ; Tue, 09 Feb 2021 03:21:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oN11b11/+0zo4HM944uxvuKXg8gA51OHrn8fXRXFzNg=; b=A9LhYX1q43bBnvpNtazIEg6/7iwFjk2X4kXwFsBgMuRrhxjjpJxHZV1n5+Q8Wh04Kz 276W5g/IfD29zwxwrYVuJlT2AzTi9DK+6YrcB+8cz6tBVVpIpEeqJ82xlHfkcCzusmba Mtyh1OPgugrMyedKhDQFD1JBZAqamiqdnkOT6OEfbF0pUSOp2FTzei7uUcIzTv1N7UNs tuCSW+d5TMxNkmtloyGz2ykbox+ciZ4VRDpSymEqS4xHqkAoresgvacTu6bFe5QXSVRx ikt1ApfTjRPA4UKfIexvfCpJg4vZQ/GdlzQm0MK2o6dHn62gUsWUd5bsEn25ENjrHTDe GUQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oN11b11/+0zo4HM944uxvuKXg8gA51OHrn8fXRXFzNg=; b=e8D7Rmgs7UEHoNupY50bhuyyVozuQGKwv9KwWX6TIy91rjKmOLZfUvEZe5Twpyjsyt wM4XV5V0QtFB/tn19mWG2tq1/tcaggC82LV/LvgmrzNZpkvHu18os7dUjjnTRmDyH0Ob lubKlTH229fr8M+qKeydxCZCKSImn7DIaZRuS2OYQLA7nS58o35VrlhZUJoyTDnXo2ql PWybHk1BM765vKJoWSQChxsewJQiLSEUDqTrbFU4Zk6pYhJGh9/eWnLKwZtsGG6R2AbZ TKz4AA4Lj41N2lV7ZJIpNEO0rzDM23RyP19HzMQ4VkA4qKvGdeovs4p6cmuWj7moianR M7rA== X-Gm-Message-State: AOAM531SlRXDVckojh6dkOB0nhOeR52VL4XG6C3y/Qz1ct6IgDG9p4YW LMg7CkN0Sha/lqEu233QCNOuRF43KrRAIVTmIzadbYcZhIUrSWKpP27jEnyYxJqWFlsjtoVqazQ OJf7+wnSwMtrZBw5J4azWRGzI9U8oKgbqDLN9i1opwj/m68/SRfKYwC9+9ufzLg+jpi7Vs3S8Pq jXVgFhdjGxXPys6W2yeDUku10T0ggfORK7yVCpZTqIK76QEG6KUts7uZJOz0KsxyjGQHIx2Y4sx A== X-Google-Smtp-Source: ABdhPJyqTXstx1JKYeamhrCr1xNEgrrdj8tWGpWPyvu/3WKZ8DyLYL0rFWpb9J07mlED5wF7kfOahc5I3CSlYoReouo= X-Received: by 2002:a4a:c489:: with SMTP id f9mr15360155ooq.49.1612869691759; Tue, 09 Feb 2021 03:21:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Murtuza Zabuawala Date: Tue, 9 Feb 2021 16:51:15 +0530 Message-ID: Subject: Re: pgAdmin 4 commit: Use 'sys.executable' to get the absolute path of the To: Akshay Joshi Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="0000000000000bfcde05bae57dff" X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000000bfcde05bae57dff Content-Type: text/plain; charset="UTF-8" Hi, It will break the WSGI. -- Regards, Murtuza Zabuawala *EDB* *POWER TO POSTGRES* https://www.edbpostgres.com On Tue, Feb 9, 2021 at 4:28 PM Akshay Joshi wrote: > Use 'sys.executable' to get the absolute path of the executable binary for > the Python interpreter instead of existing complex logic. > > Branch > ------ > master > > Details > ------- > > https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=53724675697ccdf34b8e6a5da21e9b4fc4d612c5 > > Modified Files > -------------- > web/pgadmin/misc/bgprocess/processes.py | 89 > +-------------------------------- > 1 file changed, 1 insertion(+), 88 deletions(-) > > --0000000000000bfcde05bae57dff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

It will brea= k the WSGI.

=
--
Regards,
Murtuza Zabuawala
EDB

On Tue, = Feb 9, 2021 at 4:28 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Use 'sys.executable' to = get the=C2=A0absolute path of the executable binary for the Python interpre= ter instead of existing complex logic.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=3Dpgadmin4.git;a=3Dcommitdi= ff;h=3D53724675697ccdf34b8e6a5da21e9b4fc4d612c5

Modified Files
--------------
web/pgadmin/misc/bgprocess/processes.py | 89 +-----------------------------= ---
1 file changed, 1 insertion(+), 88 deletions(-)

--0000000000000bfcde05bae57dff--