zhangshaohan
V2EX  ›  问与答

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

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