In message mailman.1621.1281012420.1673.python-l...@python.org, Chris
Withers wrote:
Wolfgang Rohdewald wrote:
On Donnerstag 05 August 2010, Chris Withers wrote:
But why only the request for auth credentials?
for security reasons I suppose - make sure a human enters
the password
Well
Hi All,
I have a script that does the following:
from subprocess import Popen,PIPE,STDOUT
def execute(command,cwd):
return Popen(
command,
stderr=STDOUT,
stdout=PIPE,
universal_newlines=True,
cwd=cwd,
shell=True,
).communicate()[0]
Wolfgang Rohdewald wrote:
On Donnerstag 05 August 2010, Chris Withers wrote:
...then the output is indeed captured. So, what is svn doing
differently? How is it escaping its jail?
maybe it does not read from stdin but directly from /dev/tty
But why only the request for auth credentials?
On Donnerstag 05 August 2010, Chris Withers wrote:
...then the output is indeed captured. So, what is svn doing
differently? How is it escaping its jail?
maybe it does not read from stdin but directly from /dev/tty
--
Wolfgang
--
http://mail.python.org/mailman/listinfo/python-list
Chris Withers wrote:
Hi All,
I have a script that does the following:
from subprocess import Popen,PIPE,STDOUT
def execute(command,cwd):
return Popen(
command,
stderr=STDOUT,
stdout=PIPE,
universal_newlines=True,
cwd=cwd,
shell=True,
Jean-Michel Pichavant wrote:
You did not redirect stdin, so it is expected you can still read input
from the console.
Okay, so if I definitely wanted no input, what should I pass as the
stdin parameter to the POpen constructor?
And it looks like svn is writting the credentials
prompt on
On Thu, 2010-08-05 at 12:58 +0100, Chris Withers wrote:
Jean-Michel Pichavant wrote:
You did not redirect stdin, so it is expected you can still read input
from the console.
Okay, so if I definitely wanted no input, what should I pass as the
stdin parameter to the POpen constructor?
On Donnerstag 05 August 2010, Chris Withers wrote:
But why only the request for auth credentials?
for security reasons I suppose - make sure a human enters
the password
--
Wolfgang
--
http://mail.python.org/mailman/listinfo/python-list
Wolfgang Rohdewald wrote:
On Donnerstag 05 August 2010, Chris Withers wrote:
But why only the request for auth credentials?
for security reasons I suppose - make sure a human enters
the password
Well yes, but what if you actually want to script it?
Chris
--
Simplistix - Content
On 2010-08-05, Chris Withers ch...@simplistix.co.uk wrote:
Wolfgang Rohdewald wrote:
On Donnerstag 05 August 2010, Chris Withers wrote:
But why only the request for auth credentials?
for security reasons I suppose - make sure a human enters
the password
Well yes, but what if you actually
Chris Withers wrote:
Jean-Michel Pichavant wrote:
You did not redirect stdin, so it is expected you can still read
input from the console.
Okay, so if I definitely wanted no input, what should I pass as the
stdin parameter to the POpen constructor?
You do want an input don't you ? 'cause
- Original message -
Wolfgang Rohdewald wrote:
On Donnerstag 05 August 2010, Chris Withers wrote:
But why only the request for auth credentials?
for security reasons I suppose - make sure a human enters
the password
Well yes, but what if you actually want to script it?
Kushal Kumaran wrote:
- Original message -
Wolfgang Rohdewald wrote:
On Donnerstag 05 August 2010, Chris Withers wrote:
But why only the request for auth credentials?
for security reasons I suppose - make sure a human enters
the password
Well yes, but what if you
On 05/08/2010 15:38, Chris Withers wrote:
Kushal Kumaran wrote:
- Original message -
Wolfgang Rohdewald wrote:
On Donnerstag 05 August 2010, Chris Withers wrote:
But why only the request for auth credentials?
for security reasons I suppose - make sure a human enters
the
Tim Golden wrote:
See http://pexpect.sf.net for a python version.
...which doesn't work on Windows.
There is a winpexpect:
http://pypi.python.org/pypi/winpexpect/1.3
Are the two api-identical?
Chris
--
Simplistix - Content Management, Batch Processing Python Consulting
-
On 05/08/2010 15:49, Chris Withers wrote:
Tim Golden wrote:
See http://pexpect.sf.net for a python version.
...which doesn't work on Windows.
There is a winpexpect:
http://pypi.python.org/pypi/winpexpect/1.3
Are the two api-identical?
From the bitbucket page:
Tim Golden wrote:
On 05/08/2010 15:49, Chris Withers wrote:
Tim Golden wrote:
See http://pexpect.sf.net for a python version.
...which doesn't work on Windows.
There is a winpexpect:
http://pypi.python.org/pypi/winpexpect/1.3
Are the two api-identical?
From the bitbucket page:
On 05/08/2010 15:56, Chris Withers wrote:
Tim Golden wrote:
On 05/08/2010 15:49, Chris Withers wrote:
Tim Golden wrote:
See http://pexpect.sf.net for a python version.
...which doesn't work on Windows.
There is a winpexpect:
http://pypi.python.org/pypi/winpexpect/1.3
Are the two
On Thu, 05 Aug 2010 12:23:35 +0100, Chris Withers wrote:
...then the output is indeed captured. So, what is svn doing
differently? How is it escaping its jail?
maybe it does not read from stdin but directly from /dev/tty
But why only the request for auth credentials?
So that you can do
19 matches
Mail list logo