again
          Runtime.getRuntime().exec(cmds);
           execInternal(cmdarray, envp, path);

           private native Process execInternal(String cmdarray[], String envp[], String path)
            throws IOException;

           /**
               * Executes the specified string command in a separate process.
               * <p>
               * The <code>command</code> argument is parsed into tokens and then
               * executed as a command in a separate process. The token parsing is
               * done by a {@link java.util.StringTokenizer} created by the call:
               * <blockquote><pre>
               * new StringTokenizer(command)
               * </pre></blockquote>
               * with no further modifications of the character categories.
               * This method has exactly the same effect as
               * <code>exec(command, null)</code>.
               *
               * @param      command   a specified system command.
               * @return     a <code>Process</code> object for managing the subprocess.
               * @exception  SecurityException  if a security manager exists and its 
               *             <code>checkExec</code> method doesn't allow creation of a subprocess.
               * @exception  IOException if an I/O error occurs
               * @exception  NullPointerException if <code>command</code> is
               *             <code>null</code>
               * @exception  IllegalArgumentException if <code>command</code> is empty
               *            
               * @see        java.lang.Runtime#exec(java.lang.String, java.lang.String[])
               * @see     java.lang.SecurityManager#checkExec(java.lang.String)
               */
          posted on 2008-10-16 14:31 charlie's logic 閱讀(787) 評(píng)論(0)  編輯  收藏 所屬分類: java/j2ee

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           

          統(tǒng)計(jì)

          主站蜘蛛池模板: 莱西市| 沂南县| 临城县| 云阳县| 洛扎县| 上饶市| 威宁| 稻城县| 五常市| 聂拉木县| 棋牌| 宿松县| 高淳县| 临泉县| 西华县| 西充县| 江川县| 洛川县| 江孜县| 竹溪县| 渑池县| 柳州市| 钟山县| 平度市| 灯塔市| 中西区| 东方市| 隆尧县| 钟山县| 临江市| 思茅市| 调兵山市| 元阳县| 乌兰察布市| 永定县| 龙门县| 武清区| 大庆市| 桐庐县| 新建县| 安乡县|