Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #37235

Re: Windows subprocess.call problem

References <CAAPnF_XoeAQLqOXSWVF05sazUy6jtqSCSv18r7SL+18AqqbwmQ@mail.gmail.com> <50FD3CCD.4060707@davea.name>
Date 2013-01-22 10:43 +1100
Subject Re: Windows subprocess.call problem
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.771.1358811817.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Jan 22, 2013 at 12:04 AM, Dave Angel <d@davea.name> wrote:
> Why not just pass all the filenames as parameters in one invocation of
> notepad?  Assuming Notepad is written reasonably, that'll give it all to you
> in one window, instead of opening many separate ones.

The OP is talking about Windows Notepad. Assuming it to be, quote,
"written reasonably", unquote, is like assuming that an elected
politician has a brain, or that a young child will like broccoli, or
that a post from 88888 Dihedral will be useful and intelligible.

Also, I just tested Notepad, and if it's given multiple parameters, it
interprets them as a single filename with spaces in it (and then
offers to create that file). Was worth a try though.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Windows subprocess.call problem Chris Angelico <rosuav@gmail.com> - 2013-01-22 10:43 +1100

csiph-web