Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Need to handle the interactive command using java
Joined: Jan 28, 2011
Sep 24, 2012 08:53:10
I want to handle the interactive command using
. Dont know how to do this.
For example i am executing command -su on linux machine. after this command execution we need to enter the password.
This is the example not the exact command.
Please suggest me the solution.
Thanks in advance.
Joined: Jan 03, 2004
Oct 14, 2012 09:05:50
You'll want a loop that reads a line from System.in and then processes that line.
Don't get me started about those stupid
subject: Need to handle the interactive command using java
Trapping of different shells like DOS,Unix
How to Run a command
Command line question
Read mail file using script
problem running SSH with JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013