How to fix java.io.IOException: Cannot run program "getContentHtml" (in directory "."): error=2, no such file exception??
by xg3571 from LinuxQuestions.org on (#5T0E6)
I stored python script getContentHtml and InspectSite.java file in current directory
InspectSite.java code:
Code:Process process = Runtime.getRuntime().exec("getContentHtml "+url, null, new File("./"))
...and console print error message Cannot run program "getContentHtml" (in directory ".")
absolute path doesn't work too.
InspectSite.java code:
Code:Process process = Runtime.getRuntime().exec("getContentHtml "+url, null, new File("./"))
...and console print error message Cannot run program "getContentHtml" (in directory ".")
absolute path doesn't work too.