detach_console

Function detach_console 

Source
pub fn detach_console() -> Result<()>
Available on crate feature ui only.
Expand description

Detaches the current process from its console.

If no other processes use the console, it will be destroyed.