随笔分类 -  JAVA核心编程

摘要:java ProcessBuilder 执行命令, 读取错误流和标准流消息 public class ExecCommand { public static void main(String[] agrs) throws IOException, InterruptedException { Lis 阅读全文
posted @ 2022-12-17 16:54 浊酒一杯温如言 阅读(208) 评论(0) 推荐(0)
摘要:废话不多说上代码 public static void main(String[] args) throws IOException { // 连接windows namedPipe RandomAccessFile pipe = new RandomAccessFile("\\\\.\\Pipe\ 阅读全文
posted @ 2022-06-18 17:01 浊酒一杯温如言 阅读(178) 评论(0) 推荐(0)