i have been trying to understand the exec command......i was stuck with its two overloaded version.....these are:-
exec(String cmdarray,String env)
exec(String cmdarray,String env,File dir)
i wanted to know what does these versions do???i.e.what does env array of String does and what is the use and work of dir in the method???if you can explain with some examples....
thanks in advance