Hello a very small issue ;-) >>> pg_ctl('-D testdatabase stop) --> >>> pg_ctl('-D testdatabase stop') Thank for your work. Pierre