Seems like exec parses the command with StringTokenizer [1]. This may have
some difficulty parsing with quotes. Try using the array form of this
command to explicitly define your String tokens [2].

Ref:
1.
http://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#exec(java.lang.String,%20java.lang.String[],%20java.io.File)
2.
http://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#exec(java.lang.String[],%20java.lang.String[],%20java.io.File)

-Abe

On Thu, Dec 25, 2014 at 5:24 AM, Vineet Mishra <clearmido...@gmail.com>
wrote:

> exec

Reply via email to