mitra_subhasis
asked on
Excecuting system commands...
How I can execute a system command within a java program. For example, as in C under Unix, we can execute system command by
system("command");
ie. for clearing the screen we use
system("clear");
etc...
How I can do the same in java?
Subhasis.
system("command");
ie. for clearing the screen we use
system("clear");
etc...
How I can do the same in java?
Subhasis.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes, satisfactory.
Subhasis
Subhasis
Use Runtime.exec() format to executate your shell commands.
Not all commands are supported
Shyam