zhangshaohan
V2EX  ›  问与答

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

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