V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zhangshaohan
V2EX  ›  问与答

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

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