Is there a way to block every input of a process from the standard input? I mean, not closing it's stdin file descriptor, but avoid any input that comes from the standard input device.
Is there a way to block every input of a process from the standard input? I mean, not closing it's stdin file descriptor, but avoid any input that comes from the standard input device.