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

Reply via email to