This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2009年06月29日 15:47 by pakal, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| doc-subprocess.patch | tim.golden, 2009年06月29日 16:07 | |||
| Messages (3) | |||
|---|---|---|---|
| msg89854 - (view) | Author: Pascal Chambon (pakal) * | Date: 2009年06月29日 15:47 | |
I feel the description of the subprocess.popen semantics is a little incomplete/confusing to me, on some points, eg. : - what does the "shell" argument do on windows, exactly ? The beginning of the description states that nothing changes (createProcess() is used in any way), but later "COMSPEC" and "shell" are quoted, and their effect is unclear on windows... -"If cwd is not None, the child’s current directory will be changed to cwd before it is executed. Note that this directory is not considered when searching the executable, so you can’t specify the program’s path relative to cwd." -> maybe we should precise that only the "executable" argument is concerned, not the 'executable' program name which might be given as first item in "args" argument (and which is, on the contrary, searched relatively to "cwd" argument) -for the "bufsize" argument, it would be handy to precise which buffer size is set (of which file descriptors exactly ? Of Pipes only ?) Regards, P. Chambon |
|||
| msg89856 - (view) | Author: Tim Golden (tim.golden) * (Python committer) | Date: 2009年06月29日 16:07 | |
Attached is a patch against r73685 of the documentation for subprocess which adds some information about using shell=True on Windows. I plan to do some more general-purpose docs for subprocess on Windows, but as I've failed to get round to them for a year or so, let's get this small change in at least! |
|||
| msg89934 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2009年06月30日 16:17 | |
Thanks, committed in r73705. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:50 | admin | set | github: 50623 |
| 2009年06月30日 16:17:37 | georg.brandl | set | status: open -> closed resolution: accepted messages: + msg89934 |
| 2009年06月29日 16:07:16 | tim.golden | set | files:
+ doc-subprocess.patch nosy: + tim.golden messages: + msg89856 keywords: + patch |
| 2009年06月29日 15:47:36 | pakal | create | |