MCPcopy Index your code
hub / github.com/RustPython/RustPython / posix_spawn

Function posix_spawn

crates/vm/src/stdlib/posix.rs:1885–1887  ·  view source on GitHub ↗
(args: PosixSpawnArgs, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1883 #[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "macos"))]
1884 #[pyfunction]
1885 fn posix_spawn(args: PosixSpawnArgs, vm: &VirtualMachine) -> PyResult<libc::pid_t> {
1886 args.spawn(false, vm)
1887 }
1888
1889 #[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "macos"))]
1890 #[pyfunction]

Callers 1

spawnMethod · 0.85

Calls 1

spawnMethod · 0.80

Tested by

no test coverage detected