Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86212 > unrolled thread
| Started by | INADA Naoki <songofacandy@gmail.com> |
|---|---|
| First post | 2015-02-23 21:33 +0900 |
| Last post | 2015-02-23 21:33 +0900 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: bufsize must be an integer in subprocess.Popen INADA Naoki <songofacandy@gmail.com> - 2015-02-23 21:33 +0900
| From | INADA Naoki <songofacandy@gmail.com> |
|---|---|
| Date | 2015-02-23 21:33 +0900 |
| Subject | Re: bufsize must be an integer in subprocess.Popen |
| Message-ID | <mailman.19067.1424694826.18130.python-list@python.org> |
> Hi, the parameter list should be a list of strings, not several unpacked > strings : > > command = ["/root/Desktop/abc.py","64","abc"] > proc1 = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, > stderr=subprocess.PIPE) > The first argument is list of string only when `shell=False` (default). When `shell=True`, you should one string as the argument. -- INADA Naoki <songofacandy@gmail.com>
Back to top | Article view | comp.lang.python
csiph-web