protected static CommandExecutor create(int timeout, String param) {
        String[] params = param.split(" ");
        CommandExecutor processModel = null;
        synchronized (PRC) {
            try {
                Process process = PRC.command(params)
                        .redirectErrorStream(true)
                        .start();
                processModel = new CommandExecutor(process, timeout);
                // Sleep 10 to create next
                try {
                    Thread.sleep(10);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

        return processModel;
    }
Run

@param param param eg: "/system/bin/ping -c 4 -s 100 www.qiujuer.net"
caprice/kit-cmd/src/main/java/net/qiujuer/genius/kit/cmd/CommandExecutor.java