Shouldn't the standard input for different process unique? If so, shouldn't the path of the stdin file be like /dev/pid/stdin
instead of a global /dev/stdin
?
Does anyone have ideas about this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…