fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] "Other users are logged in" messages being captured by run()


From: Chris Burroughs
Subject: [Fab-user] "Other users are logged in" messages being captured by run()
Date: Tue, 18 Dec 2012 12:16:27 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2

I'm doing something which (I think) is straightforward :
 foo = run('some command')

And then go parse or otherwise do something with the output of foo.
This works except when others users are logged into the server in which
case the "Other users are logged in" message is captured as well:

[hostname] out:
[hostname] out: Other users are logged in
[hostname] out: username  pts/0        2012-12-18 11:26 (10.2.1.243)


I admit to not fully understanding what terminal magic causes this to
happen (since it does not for ssh address@hidden 'cmd').  Is there a way to
work around this problem?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]