Piping processes works with 'shell = True' but not otherwise.
Cameron Simpson
cs at zip.com.au
Wed May 29 18:18:30 EDT 2013
On 29May2013 19:39, Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915 at spamschutz.glglgl.de> wrote:
| Am 27.05.2013 02:14 schrieb Carlos Nepomuceno:
| >pipes usually consumes disk storage at '/tmp'.
|
| Good that my pipes don't know about that.
| Why should that happen?
It probably doesn't on anything modern. On V7 UNIX at least there
was a kernel notion of the "pipe fs", where pipe storage existed;
usually /tmp; using small real (but unnamed) files is an easy way
to implement them, especially on systems where RAM is very small
and without a paging VM - for example, V7 UNIX ran on PDP-11s amongst
other things. And files need a filesystem.
But even then pipes are still small fixed length buffers; they don't
grow without bound as you might have inferred from the quoted
statement.
Cheers,
--
Cameron Simpson <cs at zip.com.au>
ERROR 155 - You can't do that. - Data General S200 Fortran error code list
More information about the Python-list
mailing list