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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -