Git Product home page Git Product logo

gsh's People

Contributors

dctrwatson avatar gmjosack avatar zorkian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gsh's Issues

Timeout when suspended

When I suspend gsh with ^Z and come back a minute later, all of the open SSH connections have timed out per my -t setting.

gsh throws an error when -q option does not return any machines

Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/greenlet.py", line 390, in run
result = self._run(_self.args, *_self.kwargs)
File "/usr/local/lib/python2.7/site-packages/gsh/init.py", line 155, in _run_pre_job_hooks
hook.pre_job(self.command, self.hosts, time.time())
File "/usr/local/encap/py27-gsh-0.7/lib/python2.7/site-packages/gsh/plugins/hooks/printer_hook.py", line 14, in pre_job
self.longest_len = len(max(hosts, key=len)) + 1
ValueError: max() arg is an empty sequence
<Greenlet at 0x21d5af0: <bound method Gsh._run_pre_job_hooks of <gsh.Gsh object at 0x225bbd0>>> failed with ValueError

Add newlines for bad citizens

I was running a 'curl -s foo' across a number of hosts and the output file didn't have a newline, so curl faithfully only prints the output. This causes my gsh output to not have newlines, which makes it a little difficult to read.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.