As a command it runs fine from cmd prompt but not from java code
posted 5 years ago
The code given below actually tries running a command. This command when run from command prompt, produces the necessary output. But when i try to run the application from java code, it keeps on running and doesn't produce any output file.