zhangshaohan
V2EX  ›  问与答

Java 用 ProcessBuilder 执行一个持续行的命令行任务能提前中止么?

  •  
  •   zhangshaohan · Sep 3, 2020 · 928 views
    This topic created in 2177 days ago, the information mentioned may be changed or developed.
    需要用 ProcessBuilder 去执行一个持续的命令行任务,比如推流,然后我想推一段时间后就停止,有没有办法能去中止这个任务呢?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5295 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:27 · PVG 15:27 · LAX 00:27 · JFK 03:27
    ♥ Do have faith in what you're doing.