java - Unable to access jarfile using subprocess -


i trying run java command in python this:

import subprocess  subprocess.popen(['java -xmx1024m -jar /maui-standalone-1.1-snapshot.jar run /data/models/term_assignment_model -v /data/vocabulary/nyt_descriptors.rdf.gz -f skos'], cwd=r'/users/username/repositories/rake-tutorial/', shell=true) 

unfortunately throwing unable access jarfile /maui-standalone-1.1-snapshot.jar error. have checked permissions , tried number of other options including using os.system command run shell script. error still remains. there seem lot of people have encountered same problem none of solutions seem work me. suggestions? let me know if need more information. in advance!


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -