(vm: &VirtualMachine)
| 1441 | #[cfg(not(any(target_os = "wasi", target_os = "redox")))] |
| 1442 | #[pyfunction] |
| 1443 | fn setsid(vm: &VirtualMachine) -> PyResult<()> { |
| 1444 | unistd::setsid() |
| 1445 | .map(|_ok| ()) |
| 1446 | .map_err(|err| err.into_pyexception(vm)) |
| 1447 | } |
| 1448 | |
| 1449 | #[cfg(not(any(target_os = "wasi", target_os = "redox")))] |
| 1450 | #[pyfunction] |
no test coverage detected