public inbox for [email protected]  
help / color / mirror / Atom feed
From: Dave Page <[email protected]>
To: Ashesh Vashi <[email protected]>
Cc: Surinder Kumar <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: [pgAdmin4][Patch]: Background process executor won't run(in case of Backup, restore) in Windows only
Date: Fri, 23 Sep 2016 09:24:49 +0100
Message-ID: <CA+OCxoxKz6OJgWB_wbnu4byaANjOryK0q6j77Xv1D4rkVAfDRg@mail.gmail.com> (raw)
In-Reply-To: <CAG7mmoycf8RVvTQWyZAPcpC16xDGNShudE2-rAdodq4TTmpLEQ@mail.gmail.com>
References: <CAM5-9D_+dUN79tJoK35Vq2oXLybeBwVFPFKHmF5NPKg6HR_c3Q@mail.gmail.com>
	<CA+OCxoziDJ602ijijUsVDOgP8jwHpqpKMBxXeY_9amcE_4bUOg@mail.gmail.com>
	<CAM5-9D_szaiOK8Ff1D5RDLTLBviMknaOV3po5Ven_pZo7g74HA@mail.gmail.com>
	<CA+OCxozFa--mMepPxFLFu2LZAi=Uspb17tcFBwkH6EL8aai2QQ@mail.gmail.com>
	<CAG7mmoycf8RVvTQWyZAPcpC16xDGNShudE2-rAdodq4TTmpLEQ@mail.gmail.com>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

On Fri, Sep 23, 2016 at 9:18 AM, Ashesh Vashi <[email protected]
> wrote:

> On Fri, Sep 23, 2016 at 1:47 PM, Dave Page <[email protected]> wrote:
>
>> On Fri, Sep 23, 2016 at 5:59 AM, Surinder Kumar
>> <[email protected]> wrote:
>> > Actually It doesn't broke anywhere, instead It runs successfully. On
>> > debugging I found that it runs the subprocess.Popen() utility but it
>> doesn't
>> > run internally the pg_dump utitliy. On running the same command on
>> windows
>> > cmd prompt it works.
>> > Then on setting parameters close_fds=False and cmd_shell=True, It works.
>> > I ran backup in Google Chrome.
>>
>> It certainly runs pg_dump for me - I see the output in the monitoring
>> dialogue, and I get a dump file at the end.
>>
>> I also use Chrome.
>>
> It may differ for different version of python.
>

Maybe. I'm using 2.7.

Either way, I don't want a command window flashing up unnecessarily.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: [pgAdmin4][Patch]: Background process executor won't run(in case of Backup, restore) in Windows only
  In-Reply-To: <CA+OCxoxKz6OJgWB_wbnu4byaANjOryK0q6j77Xv1D4rkVAfDRg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox