I already have read that article. Beside that, is there any way to make the program run, perhaps in a different way but doing the same?
Thanks
User Profile
Collapse
-
waitFor() not working properly
Im working in a project that need to delete a directory on client disk and copy a folder (with everything inside) over the network from my disk to the client disk. After that (when the transfer is finished) it must run a specific JAR.
I'm using Runtime.getRunt ime().exec() to execute a bat file that performs the transfer, and a .exec() that runs the jar in a command line.
I can run the two tasks separately, but when I run them in sequence...
No activity results to display
Show More
Leave a comment: