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.