Skip to main content

spawn_detached

Function spawn_detached 

Source
pub fn spawn_detached(program: &Path, args: &[String]) -> Result<Child>
Expand description

分离式 spawn:stdin/stdout 静默,stderr 管道(失败时收尾)。/// Windows 加 CREATE_NO_WINDOW(不占控制台风;GUI 子窗不受影响)。