Browsing index pages (3 articles)
↧
Running external program
What's the difference between running programs using java and run it using the command line? In the first case it does not work, but in the second case it works fine.Java:try { Runtime runtime =...
View ArticleAnswer by Mohammad Moghimi for Running external program
Try using absolute path. Maybe that's your problem.
View ArticleAnswer by DmitryB for Running external program
Thanks all, I solved my problem:try { String cmd="/progs/my/prog //10.124.12.15/C:/output/* /temp/input/345 -N -A" Runtime runtime = Runtime.getRuntime(); Process proc = runtime.exec( new...
View Article
Browsing index pages (3 articles)