java - sh: 1: Syntax error: Unterminated quoted string, ruby, linux -
i need run 2 java compilers in ruby in linux. code is:
system("java -xmx2g -cp .:mul.jar:weka.jar:traintest1 -arff fileinput.arff -xml nilm.xml -k #{parameter1} -name c_#{parameter2}_ g_#{parametere3} -class \"-c #{parameter2} -l 0.0010 -p 1.0e-12 -n 0 -v 10 -w 1 -k \"weka.classifiers.functions.supportvector.rbfkernel -c 250007 -g #{parametere3} \"\\")
i'm running weka
, mulan
libraries. have error sh: 1: syntax error: unterminated quoted string
you have 3 quotes in command line (unbalanced), imagine want 4 (or other number).
Comments
Post a Comment