Il Thu, 25 Aug 2011 01:52:25 -0700, Chris Rebert ha scritto:
On Thu, Aug 25, 2011 at 1:25 AM, Tracubik affdfsdfds...@b.com wrote:
Hi all!
cut
Untested:
from subprocess import Popen, PIPE sudo = Popen(sudo las, shell=True,
stderr=PIPE)
tee = Popen([tee, /dev/stderr], stdin=sudo.stderr,
On Fri, Aug 26, 2011 at 12:56 AM, Tracubik affdfsdfds...@b.com wrote:
Il Thu, 25 Aug 2011 01:52:25 -0700, Chris Rebert ha scritto:
On Thu, Aug 25, 2011 at 1:25 AM, Tracubik affdfsdfds...@b.com wrote:
Hi all!
cut
Untested:
from subprocess import Popen, PIPE sudo = Popen(sudo las,
Il Thu, 25 Aug 2011 08:25:59 +, Tracubik ha scritto:
Hi all!
i'ld like to execute via Python this simple bash command:
sudo las
las is intended to be a typo for ls
the point is that i want to see in the terminal the stderr message (that
is sorry, try again if i insert the wrong
Il Fri, 26 Aug 2011 01:20:02 -0700, Chris Rebert ha scritto:
On Fri, Aug 26, 2011 at 12:56 AM, Tracubik affdfsdfds...@b.com wrote:
Il Thu, 25 Aug 2011 01:52:25 -0700, Chris Rebert ha scritto:
On Thu, Aug 25, 2011 at 1:25 AM, Tracubik affdfsdfds...@b.com wrote:
Hi all!
cut
Untested:
from
Hi all!
i'ld like to execute via Python this simple bash command:
sudo las
las is intended to be a typo for ls
the point is that i want to see in the terminal the stderr message (that
is sorry, try again if i insert the wrong password or sudo: las:
command not found otherwise)
i can simply
On Thu, Aug 25, 2011 at 1:25 AM, Tracubik affdfsdfds...@b.com wrote:
Hi all!
i'ld like to execute via Python this simple bash command:
sudo las
las is intended to be a typo for ls
the point is that i want to see in the terminal the stderr message (that
is sorry, try again if i insert the