Control stript which is runing in background.

Cameron Simpson cs at cskk.id.au
Thu Dec 31 19:43:43 EST 2020


On 01Jan2021 01:21, jak <nospam at please.ty> wrote:
>Il 01/01/2021 00:58, 2QdxY4RzWzUUiLuE at potatochowder.com ha scritto:
>>Most of the time, I have several shells open, often with their own
>>background jobs running.  Limiting write permission on the pipe to "me"
>>wouldn't prevent concurrent access.
>
>This is true but there would be no difference if this happened through 
>a socket.

Accessing a socket makes a distinct separate data connection - other 
openers do not conflict with it. That's the critical difference between 
a socket and a pipe in terms of functionality, and why sockets have a 
connect/accept step.

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Python-list mailing list