use std::ffi::c_char;
use crate::{
core::tools::process_running::linux::is_process_running, utils::convert::cstr::cstr_to_str,
};
#[unsafe(no_mangle)]
pub unsafe extern "C" fn fxkit_is_process_running(cmd: *const c_char) -> bool {
let cmd = unsafe { cstr_to_str(cmd) };
is_process_running(&cmd)
}