Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't pipe to grep #11

Closed
hannesstruss opened this issue Jun 13, 2013 · 2 comments
Closed

Can't pipe to grep #11

hannesstruss opened this issue Jun 13, 2013 · 2 comments

Comments

@hannesstruss
Copy link

I'm using Ubuntu 12.10. Trying to grep the output produces errors:

$ pidcat com.mycompany | grep someterm
Traceback (most recent call last):
  File "/home/hannes/bin/pidcat", line 35, in <module>
    data = fcntl.ioctl(sys.stdout.fileno(), termios.TIOCGWINSZ, '1234')
IOError: [Errno 25] Inappropriate ioctl for device
@JakeWharton
Copy link
Owner

Try the latest master!

@hannesstruss
Copy link
Author

works like a charm, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants