Re: how to pass "echo t | " input to subprocess.check_output() method

2012-11-28 Thread dachakku
On Monday, 26 November 2012 21:10:02 UTC+5:30, Miki Tebeka wrote: > > But i dont know how to pass the "echo t | " in subprocess.check_output > > while calling a process. > > You need to create two subprocess and connect the stdout of the first to the > stdin of the 2'nd. > > > > See http://p

Re: how to pass "echo t | " input to subprocess.check_output() method

2012-11-26 Thread dachakku
On Monday, 26 November 2012 16:32:22 UTC+5:30, Kushal Kumaran wrote: > dacha...@gmail.com writes: > > > > > Hi all, > > > > > > I want to list the repositories in svn using python. For this i have used > > below command, > > > " res = subprocess.check_output(["svn.exe", "list", > > "Https:

Re: how to pass "echo t | " input to subprocess.check_output() method

2012-11-26 Thread dachakku
On Monday, 26 November 2012 16:22:42 UTC+5:30, Duncan Booth wrote: > dacha...@gmail.com wrote: > > > > > Hi all, > > > > > > I want to list the repositories in svn using python. For this i have > > > used below command, " res = subprocess.check_output(["svn.exe", > > > "list", "Https://127

how to pass "echo t | " input to subprocess.check_output() method

2012-11-26 Thread dachakku
Hi all, I want to list the repositories in svn using python. For this i have used below command, " res = subprocess.check_output(["svn.exe", "list", "Https://127.0.0.1:443/svn/Repos"], stderr=subprocess.STDOUT) " but it throws an exception, since it requires an user input to validate certifica