/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//! Process utility functions.
usecrate::std::{ffi::OsStr, process::Command};
/// Return a command configured to run in the background. /// /// This means that no associated console will be opened, when applicable. pubfn background_command<S: AsRef<OsStr>>(program: S) -> Command { #[allow(unused_mut)] letmut cmd = Command::new(program); #[cfg(windows)]
{ #[cfg_attr(mock, allow(unused))] use std::os::windows::process::CommandExt; use windows_sys::Win32::System::Threading::CREATE_NO_WINDOW;
cmd.creation_flags(CREATE_NO_WINDOW);
}
cmd
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.