zhangshaohan
V2EX  ›  问与答

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

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