lkml.org 
[lkml]   [1999]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] scripts with stdin replaced
On Sat, 3 Jul 1999, Marcin 'Qrczak' Kowalczyk wrote:

> Na linux-kernel piszesz:
>
> > The following patch extends binfmt_misc to substitute stdin
> > of the wrapper with the to be executed binary.
>
> Wouldn't be better to open it on a different descriptor and pass
> /dev/fd/<something> (or /proc/<pid>/fd/<something> - BTW, which one is
> preferred to use?) as the argument? I think that some Unices do that.

Do you know which Unices offer such feature and which semantics they
choose? I have couple of different machines around, but before
digging I would at least have to know where to look at. Is there
a man-page or such for a special unix you know?

Richard.

--
Richard Guenther <richard.guenther@student.uni-tuebingen.de>
PGP: 2E829319 - 2F 83 FC 93 E9 E4 19 E2 93 7A 32 42 45 37 23 57
WWW: http://www.anatom.uni-tuebingen.de/~richi/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.211 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site