Re: Can't call public method of non-public class

2010-03-24 Thread Konstantin Barskiy
Thanks a lot! Is there way to do the same thing using 'doto'? e.g. (doto (.environment pb) (.put Var1 myValue)) I can't figure out where to place #^Map hint... On Mar 24, 5:19 am, Armando Blancas armando_blan...@yahoo.com wrote: You want Clojure to treat 'env' as a Map instead of its

Can't call public method of non-public class

2010-03-23 Thread Konstantin Barskiy
I'm trying to reproduce ProcessBuilder example from java documentation http://java.sun.com/javase/6/docs/api/java/lang/ProcessBuilder.html This is that example: ProcessBuilder pb = new ProcessBuilder(myCommand, myArg1, myArg2); MapString, String env = pb.environment(); env.put(VAR1, myValue);