diff --git a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/blackbox/GeneralPurposeScriptProducer.java b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/blackbox/GeneralPurposeScriptProducer.java index c5ff276..20f8667 100644 --- a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/blackbox/GeneralPurposeScriptProducer.java +++ b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/blackbox/GeneralPurposeScriptProducer.java @@ -97,7 +97,7 @@ public class GeneralPurposeScriptProducer { sb.append("command = paste(external_process_to_invoke"); for (Triple in : input) { - sb.append("," + in.a); + sb.append(","+"paste('\"',"+in.a+",'\"',sep='')"); } sb.append(",sep=\" \")" + System.lineSeparator());