Files
rust/library/std/src/os
Matthias Krüger 2730bebbf8 Rollup merge of #142391 - LevitatingBusinessMan:setsid, r=workingjubilee
rust: library: Add `setsid` method to `CommandExt` trait

Add a setsid method to the CommandExt trait so that callers can create a process in a new session and process group whilst still using the POSIX spawn fast path.

Tracking issue: rust-lang/rust#105376

ACP: https://github.com/rust-lang/libs-team/issues/184

This PR was previously submitted by ``@HarveyHunt`` (whom I marked as Co-Author in the commit message) in rust-lang/rust#105377. However that PR went stale.

I applied the [suggestion](https://github.com/rust-lang/rust/pull/105377/files/231d19fcbfe155b2e85116865adae4253380ff1f#r1893457943) to change the function signature to `fn setsid(&mut self, setsid: bool) -> &mut Command`.
2025-07-11 07:35:17 +02:00
..
2024-07-29 08:26:52 +10:00
2025-07-01 10:54:33 -07:00
2024-11-27 12:10:21 +00:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2025-04-09 12:29:59 +01:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2025-02-02 19:12:06 +01:00
2024-08-13 23:50:33 +02:00
2024-07-29 08:26:52 +10:00
2025-07-01 10:54:33 -07:00
2024-08-13 23:50:33 +02:00
2025-07-01 10:54:33 -07:00
2024-07-29 08:26:52 +10:00
2023-03-01 06:42:40 +01:00
2024-07-29 08:26:52 +10:00
2024-05-20 11:13:31 -04:00
2024-07-29 08:26:52 +10:00
2024-09-03 09:19:29 +02:00
2025-02-14 12:00:13 +00:00
2025-03-10 14:19:27 -07:00
2024-07-28 21:10:59 +03:00
2025-05-14 19:00:56 +02:00