<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Apache Commons Exec

          聯(lián)合創(chuàng)作 · 2023-09-28 21:02

          Apache Commons Exec 是 Apache 上的一個 Java 項目,提供一些常用的方法用來執(zhí)行外部進程,如下面代碼所示:

          String line = "AcroRd32.exe /p /h " + file.getAbsolutePath();
          CommandLine commandLine = CommandLine.parse(line);
          DefaultExecutor executor = new DefaultExecutor();
          executor.setExitValue(1);
          ExecuteWatchdog watchdog = new ExecuteWatchdog(60000);
          executor.setWatchdog(watchdog);
          int exitValue = executor.execute(commandLine);
          瀏覽 22
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  成人免费小视频 | 麻豆91视频 | 美女裸体网站国产 | 久九九久频精品短视频 | 日韩在线国产 |