Skip to content

Commit 064f913

Browse files
committed
Add wrappers for posix_spawn related functions.
1 parent 1a838c7 commit 064f913

File tree

2 files changed

+470
-0
lines changed

2 files changed

+470
-0
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ feature! {
159159
#[allow(missing_docs)]
160160
pub mod unistd;
161161

162+
feature! {
163+
#![feature = "process"]
164+
pub mod spawn;
165+
}
166+
162167
use std::ffi::{CStr, CString, OsStr};
163168
use std::mem::MaybeUninit;
164169
use std::os::unix::ffi::OsStrExt;

0 commit comments

Comments
 (0)