Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • If I do that I still get the same result. It's as if the actual prompt for the password isn't getting sent through the InputStream. If it can get the MAC without needing a password(it doesn't prompt for anything) it will print the mac to the console. But if it does need a password i have no way of knowing since it won't print(If it requires a password I just want to ignore that particular pc and kill the process) Commented Sep 16, 2014 at 21:31
  • @Orion: my attempt was getting messed up by copying your code and keeping your builder.inheritIO(); line. If you keep that in there, the stream capture won't work. Get rid of it, and gobble your streams. Commented Sep 16, 2014 at 22:24