[Patch] Utilities not working on Windows with WSGI

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [Patch] Utilities not working on Windows with WSGI
Date: 2021-02-18 11:36:09
Message-ID: CANxoLDf5oJhF932ifYAyFPf1K+tzBdLeUYQddY4QscL36HZYtg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

When we use pgAdmin on Windows with WSGI 'sys.executable' returns the path
of 'httpd.exe' instead of python interpreter. I have reverted the code only
for Windows and for other OS we use 'sys.executable'.

Attached is the patch, can someone please review it.

--
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*

Attachment Content-Type Size
WSGI_Windows.patch application/octet-stream 3.7 KB

Browse pgadmin-hackers by date

  From Date Subject
Next Message Neel Patel 2021-02-18 11:42:38 Re: pgagent unicode support
Previous Message Akshay Joshi 2021-02-18 08:56:47 Re: RM-6145 patch - Logical Replication Documentation