Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!reader01.nrc01.news.zen.net.uk.POSTED!not-for-mail From: Nobody Subject: Re: Send alt key to subprocess.PIPE stdin Date: Wed, 11 Sep 2013 18:18:07 +0100 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.lang.python References: <38b49476-607e-43ed-bd70-804ff8329ad0@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lines: 7 Organization: Zen Internet NNTP-Posting-Host: 8f279c0d.news.zen.co.uk X-Trace: DXC=V3`PDIM9?<84GlN30Rfn<5a0UP_O8AJo<=dR0\ckLKG0WeZ<[7LZNR6EIJBnhjG?m0M2Z^cWRFGA;OJnf6[nWjC; X-Complaints-To: abuse@zen.co.uk Xref: csiph.com comp.lang.python:53980 On Wed, 11 Sep 2013 07:26:32 -0700, Wanderer wrote: > How do I send the command 'Alt+D' to subprocess.PIPE? You don't. GUI programs don't read stdin, they receive key press events from the windowing system.