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
Post a Comment