Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'cpython': 0.05; 'python)': 0.05; 'situation.': 0.05; 'python': 0.08; 'library': 0.13; 'received:209.85.210.174': 0.13; 'received:mail- iy0-f174.google.com': 0.13; '3.2,': 0.16; 'it).': 0.16; 'received:192.168.1.20': 0.16; 'runtime.': 0.16; 'thunderbird': 0.16; 'possibly': 0.19; 'written': 0.20; '(but': 0.21; "aren't": 0.21; 'appropriate': 0.22; 'windows': 0.26; "i'm": 0.26; 'parent': 0.30; 'subject:some': 0.30; "i've": 0.31; "i'll": 0.31; 'necessary.': 0.32; 'message-id:@gmail.com': 0.33; 'header:User- Agent:1': 0.33; 'rather': 0.33; 'done': 0.34; 'to:addr:python- list': 0.34; 'anything': 0.34; 'running': 0.35; 'something': 0.35; 'problem.': 0.36; 'but': 0.37; 'received:192': 0.37; 'received:google.com': 0.37; "there's": 0.37; 'think': 0.37; 'some': 0.38; 'received:209.85': 0.38; "i'd": 0.39; 'being': 0.39; 'received:209': 0.40; 'to:addr:python.org': 0.40; 'received:192.168': 0.40; 'communicate': 0.40; 'ever': 0.65; 'transfer': 0.72; 'research,': 0.84; 'nice,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=OIGQCGgcDhJK8Vx6sByRqzZZSPc0AaEPjjO8F9JCsWE=; b=R8zshOoHaK+tS3sd3MDKwsZZM1V69qNAS/eV2ym5QqEqX2wgiwKARfFjTWUBfy5PLU ovumJ8s8rYPnjqaoKqzLKHBBAoViO90uxb6LFgkUT+khMY6cgqZVO75YkxWo7IFw7Bz8 g0XAO080V6xsmBK5Z8P0FXVyYGCofmzkTDGNM= Date: Wed, 30 Nov 2011 15:03:22 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20110922 Thunderbird/7.0 MIME-Version: 1.0 To: "comp.lang.python" Subject: Need some IPC pointers X-Enigmail-Version: 1.3.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322687014 news.xs4all.nl 6922 [2001:888:2000:d::a6]:54565 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16450 I've done some research, but I'm not sure what's most appropriate for my situation. What I want to do is have a long running process that spawns processes (that aren't necessarily written in Python) and communicates with them. The children can be spawned at any time and communicate at any time. Being able to communicate with non-local processes would be nice, but is not necessary. The implementation needs to be cross-platform, but child processes will use the same OS as the parent during runtime. I don't think I'll ever need to transfer anything complicated or large - just strings or possibly tuples/lists. I'd rather not go outside the standard library (but I'd consider it). I don't need to worry about compatibility with older Python versions; if it only works with Python 3.2, that's not a problem. I'm thinking sockets, but perhaps there's something simpler/easier. -- CPython 3.2.2 | Windows NT 6.1.7601.17640 | Thunderbird 7.0