(vm: &VirtualMachine)
| 1434 | |
| 1435 | #[pyfunction] |
| 1436 | fn setpgrp(vm: &VirtualMachine) -> PyResult<()> { |
| 1437 | // setpgrp() is equivalent to setpgid(0, 0) |
| 1438 | unistd::setpgid(Pid::from_raw(0), Pid::from_raw(0)).map_err(|err| err.into_pyexception(vm)) |
| 1439 | } |
| 1440 | |
| 1441 | #[cfg(not(any(target_os = "wasi", target_os = "redox")))] |
| 1442 | #[pyfunction] |
nothing calls this directly
no test coverage detected