Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn3hG-0000oo-0Z for pgadmin-hackers@arkaria.postgresql.org; Thu, 22 Sep 2016 13:05:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bn3hF-0004MP-IV for pgadmin-hackers@arkaria.postgresql.org; Thu, 22 Sep 2016 13:05:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bn3h2-00048E-5f for pgadmin-hackers@postgresql.org; Thu, 22 Sep 2016 13:05:36 +0000 Received: from mail-it0-x231.google.com ([2607:f8b0:4001:c0b::231]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bn3gx-0001uk-4v for pgadmin-hackers@postgresql.org; Thu, 22 Sep 2016 13:05:34 +0000 Received: by mail-it0-x231.google.com with SMTP id o3so156404102ita.1 for ; Thu, 22 Sep 2016 06:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=l4Mgz+byeqcZwpW8n/+2ONIvxF8eUkXMXx+q12vasQs=; b=S/Yw6eiE0iyvquXIJA8p4CkMa7YHYtj81dyDtmlP/FvYcrEhDHsGZqWCkOBLXhgouF 4nLBgqf9pIGdC8P5/nzXo/RVW0euhyVVf4Af/shQyTjFJlcLjHHr0YXCMmo4+1YUH+m5 JdjnMeLM6h4c+A6soY94jNVffYHxiu/MWZqiVc8kiDmM5Nsd8u7jEbgr7oIuxp+vlFeQ 5GrtbJPujW8FKwqUtLIZ87+itNVEzvsaBBzmGuXdrr+vM2aK7K6fbl/8F6jy0EvSvqrX 5LwCl+4Q5znIb2Cf3epmUiQmchXgvPFA3KGk4RHzNc2ccNntaeosvE3U/ltQkZsdH4WI TTHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=l4Mgz+byeqcZwpW8n/+2ONIvxF8eUkXMXx+q12vasQs=; b=EH5QvrdR1ihAiZWKGpLp6Nrao75arH9Cirilz7U3qMHh8jM7Utp/c+fCpSrJ3nNbAl 51mrv2zcqzNXq3h7etFlqU1aXpfdLXzbJaZpzWXQhujx/xGefLhSYXrtDN3FSTHILnFy 0KqgCpJGLQ6cZWxIwqcEnBQ9EnnbHjWZKOO3vb88mcw8Gndf7nA4dP5Sf7/rMPXPvwlA UzoCnsfRq9Z+9agKAiQOEHRIS7b3PXx1hDMGH9vTn8kv50qT7X4CGLBr6dZufVPIeTTD +XwCSI51nqPQdr+pNKYkzNvMvbzJT+WiocAwWwqlnKSr0EyK9JT7Ymxko5BuWFtozKHP LQWw== X-Gm-Message-State: AE9vXwO2VCyZFv9kPk0qGQYTiklLJR29AfiwMzNXh+7UD8X0jGUpcdx2pwyOI0JqcEQznA6TYygJcPArhPO9xQ== X-Received: by 10.36.210.68 with SMTP id z65mr2699668itf.32.1474549530107; Thu, 22 Sep 2016 06:05:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Thu, 22 Sep 2016 06:05:29 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Thu, 22 Sep 2016 14:05:29 +0100 Message-ID: Subject: Re: [pgAdmin4][Patch]: Background process executor won't run(in case of Backup, restore) in Windows only To: Surinder Kumar Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Can you explain what was broken exactly please? Backups work fine for me without the patch - and whilst they also work with it, I now get an ugly command shell window flash up which I didn't before. On Wed, Sep 21, 2016 at 11:48 AM, Surinder Kumar wrote: > Hi > > While working on RM1391 I found another issue 'Backup is not working on > windows". > > The reason is that the process executor which uses subprocess Popen() to > execute job fails when we pass close_fds=True and shell=False in windows. > > Now we are settings close_fds=False and shell=True to fix it. These settings > are specific to windows only. > > Please review the attached patch. > > > Thanks, > Surinder Kumar > > > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers