Re:Poor child process management in Rust terminal apps leads...
by cwillu on Wednesday July 30, 2025 @11:44PM
(#44742125)
fd's don't inherently belong to a process, and indeed there are several ways of asking the kernel to pass an fd to another process.
stdin/out/err is just a shorthand (well, longhand) for the numbers 0, 1 and 2. There's nothing special about them except by convention, and forgetting that can cause hilarious bugs.
stdin/out/err is just a shorthand (well, longhand) for the numbers 0, 1 and 2. There's nothing special about them except by convention, and forgetting that can cause hilarious bugs.