Function execute_subprocess
Source pub fn execute_subprocess() -> bool
Expand description
Execute subprocess
This method is used to start a subprocess in a separate process.
§Examples
fn main() {
if wew::is_subprocess() {
wew::execute_subprocess();
return;
}
}
§Please be careful!
Do not call this function in an asynchronous runtime, such as tokio,
which can lead to unexpected crashes!