hi Xu,
u can use,
Process exec(
String[] cmdarray)
method of Runtime instead of simple exec(String command) as per the API...
here this string array has the following format,
String[]{'command','arg1','arg2','arg3',...}
so this way you can separate arguments...
now u can use,
String[]{'command',"1 2"} in your case which should solve ur problem.
hope i got your question correctly. let me know if i've misunderstood ur question...
please look at the
API for more details...
regards
maulin