StringTokenizer st = new StringTokenizer(browserString, " ");
String[] cmd = new String[st.countTokens()];
- for(int i=0; st.hasMoreTokens(); i++) {
- cmd[i] = st.nextToken();
- System.out.println(i + ":" + cmd[i]);
- }
+ for(int i=0; st.hasMoreTokens(); i++) cmd[i] = st.nextToken();
spawnChildProcess(cmd);
}
public POSIX() { }
- public void init() { }
-
}