Sandro Tosi
98ed08f24e
update to new C roles and directives
2012-01-14 16:42:02 +01:00
Sandro Tosi
44585bd347
fix "Title underline too short" sphinx warning
2011-12-25 17:13:10 +01:00
Sandro Tosi
dbcbd101e7
fix Constuctor/Constructor typo; thanks to Anthon van der Neut from docs@
2011-12-25 11:27:22 +01:00
Nick Coghlan
87ba642ce6
Issue #13237 : Make the subprocess convenience helper documentation self-contained aside from the shared parameter description. Downgrade the pipe warnings at that level to notes (since those pipes are hidden, people are unlikely to even try it)
2011-10-27 17:55:13 +10:00
Nick Coghlan
63c54e819e
Issue #13237 : fix typo
2011-10-26 21:34:26 +10:00
Nick Coghlan
65ad31a8f8
Issue #13237 : remove some details that only apply to the 3.x version of this module and cross reference the relocated warning about the dangers of invoking the shell with untrusted input
2011-10-26 21:15:53 +10:00
Nick Coghlan
2ed203af87
Issue #13237 : further updates to subprocess documentation
2011-10-26 21:05:56 +10:00
Nick Coghlan
8671157863
Issue #13237 : Rearrange subprocess module documentation to emphasise the convenience functions and commonly needed arguments
2011-10-24 22:19:40 +10:00
Senthil Kumaran
6f18b98782
Fix closes issue10403 - Let's not use members anymore.
2011-07-04 12:50:02 -07:00
Brian Curtin
bb23bd69b9
Fix #11961 . Document STARTUPINFO and creation flag options.
2011-04-29 22:23:46 -05:00
Ezio Melotti
b4923786fa
Fix wrong number of functions noticed by Sandro Tosi.
2011-04-19 23:12:37 +03:00
Eli Bendersky
929e276176
Issue #11827 : remove mention of list2cmdline in the doc of subprocess
2011-04-15 07:35:06 +03:00
Gregory P. Smith
e3e967f2b3
Merged revisions 88352 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88352 | gregory.p.smith | 2011-02-05 13:47:25 -0800 (Sat, 05 Feb 2011) | 3 lines
issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
happens when the end exits before the beginning.
........
2011-02-05 21:49:56 +00:00
R. David Murray
6e4300c999
Merged revisions 86419 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86419 | r.david.murray | 2010-11-11 19:35:31 -0500 (Thu, 11 Nov 2010) | 4 lines
#7950 : add warning about security implications of shell=True to subprocess docs
Patch by Chris Rebert.
........
2010-11-12 00:39:09 +00:00
Georg Brandl
21946afe3f
Merged revisions 82798,82805,83659,83977,84015,84018,84141,84264,84326-84327,84480,84482,84484,84530-84531,84553,84619,84915-84916 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82798 | georg.brandl | 2010-07-11 11:23:11 +0200 (So, 11 Jul 2010) | 1 line
#6774 : explain shutdown() behavior varying with platform.
........
r82805 | georg.brandl | 2010-07-11 11:42:10 +0200 (So, 11 Jul 2010) | 1 line
#7935 : cross-reference to ast.literal_eval() from eval() docs.
........
r83659 | georg.brandl | 2010-08-03 14:06:29 +0200 (Di, 03 Aug 2010) | 1 line
Terminology fix: exceptions are raised, except in generator.throw().
........
r83977 | georg.brandl | 2010-08-13 17:10:49 +0200 (Fr, 13 Aug 2010) | 1 line
Fix copy-paste error.
........
r84015 | georg.brandl | 2010-08-14 17:44:34 +0200 (Sa, 14 Aug 2010) | 1 line
Add some maintainers.
........
r84018 | georg.brandl | 2010-08-14 17:48:49 +0200 (Sa, 14 Aug 2010) | 1 line
Typo fix.
........
r84141 | georg.brandl | 2010-08-17 16:11:59 +0200 (Di, 17 Aug 2010) | 1 line
Markup nits.
........
r84264 | georg.brandl | 2010-08-22 22:23:38 +0200 (So, 22 Aug 2010) | 1 line
#9649 : fix default value description.
........
r84326 | georg.brandl | 2010-08-26 16:30:15 +0200 (Do, 26 Aug 2010) | 1 line
#9689 : add links from overview to in-depth class API descriptions.
........
r84327 | georg.brandl | 2010-08-26 16:30:56 +0200 (Do, 26 Aug 2010) | 1 line
#9681 : typo.
........
r84480 | georg.brandl | 2010-09-04 00:33:27 +0200 (Sa, 04 Sep 2010) | 1 line
More inclusive title.
........
r84482 | georg.brandl | 2010-09-04 00:40:02 +0200 (Sa, 04 Sep 2010) | 1 line
#9760 : clarify what context expression is.
........
r84484 | georg.brandl | 2010-09-04 00:49:27 +0200 (Sa, 04 Sep 2010) | 1 line
Fix missing word.
........
r84530 | georg.brandl | 2010-09-05 19:07:12 +0200 (So, 05 Sep 2010) | 1 line
#9747 : fix copy-paste error in getresgid() doc.
........
r84531 | georg.brandl | 2010-09-05 19:09:18 +0200 (So, 05 Sep 2010) | 1 line
#9776 : fix some spacing.
........
r84553 | georg.brandl | 2010-09-06 08:49:07 +0200 (Mo, 06 Sep 2010) | 1 line
#9780 : both { and } are not valid fill characters.
........
r84619 | georg.brandl | 2010-09-08 12:43:45 +0200 (Mi, 08 Sep 2010) | 1 line
Add Lukasz.
........
r84915 | georg.brandl | 2010-09-20 08:27:02 +0200 (Mo, 20 Sep 2010) | 1 line
Fix typo.
........
r84916 | georg.brandl | 2010-09-20 08:29:01 +0200 (Mo, 20 Sep 2010) | 1 line
Mention % as string formatting.
........
2010-10-06 09:28:45 +00:00
Stefan Krah
a253dc1da0
High byte is the exit status.
2010-07-14 10:06:07 +00:00
Antoine Pitrou
c395545a4a
Issue #8873 : add a documentation note about possible performance issues with the
...
default of unbuffered IO in subprocess.Popen.
2010-06-02 17:08:47 +00:00
Ezio Melotti
9ccc58113e
Fix markup errors.
2010-04-05 08:16:41 +00:00
Brian Curtin
e5aa886b44
Implement #1220212 . Add os.kill support for Windows.
...
os.kill takes one of two newly added signals, CTRL_C_EVENT and
CTRL_BREAK_EVENT, or any integer value. The events are a special case
which work with subprocess console applications which implement a
special console control handler. Any other value but those two will
cause os.kill to use TerminateProcess, outright killing the process.
This change adds win_console_handler.py, which is a script to implement
SetConsoleCtrlHandler and applicable handler function, using ctypes.
subprocess also gets another attribute which is a necessary flag to
creationflags in Popen in order to send the CTRL events.
2010-04-02 23:26:06 +00:00
Georg Brandl
0b56ce0bc4
Clarify that for shell=True, the shell PID will be the child PID.
2010-03-21 09:28:16 +00:00
Florent Xicluna
cf741ceb69
Fix syntax: "rc != None" -> "rc is not None"
2010-03-08 10:58:12 +00:00
R. David Murray
6dfe66298b
Make the references to Popen in the description of Call
...
and check_call into links.
2010-02-16 17:55:26 +00:00
Nick Coghlan
7dfc9e1cd4
Issue 6760: Clarify args handling for subprocess.Popen. Patch by Chris Rebert
2010-02-04 12:43:58 +00:00
Georg Brandl
6ab5d083f2
#7381 : subprocess documentation and library docstring consistency fixes.
2009-12-20 14:33:20 +00:00
Philip Jenvey
2627553afa
#7177 : clarify the potential PIPE deadlock warnings
2009-12-03 02:25:54 +00:00
Philip Jenvey
8b9020458a
#5329 : fix os.popen* regression from 2.5: don't execute commands as a sequence
...
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
2009-09-29 19:10:15 +00:00
Georg Brandl
2e1285baee
#6481 : fix typo in os.system() replacement.
2009-07-16 07:38:35 +00:00
Georg Brandl
0d8649a1c9
#6374 : add a bit of explanation about shell=True on Windows.
2009-06-30 16:17:28 +00:00
R. David Murray
ccb9d4b21c
Issue 2947: document how return code handling translates from
...
os.popen to subprocess. Also fixes reference link in the
os.spawn documentation.
2009-06-09 00:44:22 +00:00
R. David Murray
fe6e784a9d
Issue 6141: document that the first item of args is still the
...
command name even when executable is specified.
2009-05-29 19:30:27 +00:00
Philip Jenvey
739aa36818
don't use subprocess.call with PIPEs as the child can fill the pipe buf and
...
deadlock. add a warning to subprocess docs about this, similar to Popen.wait's.
refs http://bugs.jython.org/issue1351
2009-05-22 05:35:32 +00:00
Georg Brandl
f6dab9542c
Make the doctests in the docs pass, except for those in the turtle module.
2009-04-28 21:48:35 +00:00
Georg Brandl
16a57f6a34
Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
...
should clutter the docs as possible. Part 1: stuff that gets merged to Py3k.
2009-04-27 15:29:09 +00:00
R. David Murray
7203081025
Less red ink (warning->note) and add link to def of side-by-side assembly.
2009-04-16 18:12:53 +00:00
R. David Murray
6076d399b4
Fix for issue3440: add warning to subprocess discussion of
...
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.
2009-04-15 22:33:07 +00:00
Mark Dickinson
3e4caeb3bf
Issue #5341 : Fix a variety of spelling errors.
2009-02-21 20:27:01 +00:00
Andrew M. Kuchling
42ffbdb903
Markup fixes
2009-01-21 02:16:26 +00:00
Georg Brandl
c62ef8b4d9
Remove trailing whitespace.
2009-01-03 20:55:06 +00:00
Georg Brandl
f5d5a66349
Follow-up to #4488 : document PIPE and STDOUT properly.
2008-12-06 11:57:12 +00:00
Georg Brandl
5b5f273640
#4409 : fix asterisks looking like footnotes.
2008-12-05 07:52:26 +00:00
Gregory P. Smith
26576801a6
rename the new check_call_output to check_output. its less ugly.
2008-12-05 02:27:01 +00:00
Georg Brandl
1743201364
Clarification to avoid confusing output with file descriptors.
2008-12-04 21:28:16 +00:00
Gregory P. Smith
97f49f4be7
Adds a subprocess.check_call_output() function to return the output from a
...
process on success or raise an exception on error.
2008-12-04 20:21:09 +00:00
Benjamin Peterson
cae5848f12
fix a small typo
2008-10-10 20:38:49 +00:00
Andrew M. Kuchling
cad8da8abd
Markup fixes. (optparse.rst probably needs an entire revision pass.)
2008-09-30 13:01:46 +00:00
Georg Brandl
9af9498c6e
Remove things specific to the old Macintosh, and spell "Mac OS X" consistently.
2008-09-13 17:41:16 +00:00
Gregory P. Smith
33ede08cdd
more cleanup ups of the recently added warnings in the subprocess docs.
2008-08-04 18:34:07 +00:00
Georg Brandl
143de623e7
Fix markup.
2008-08-04 06:29:36 +00:00
Gregory P. Smith
0879250284
issue1606: Add warnings to the subprocess documentation about common pitfalls
...
of using pipes that cause deadlocks.
2008-08-04 01:03:50 +00:00
Benjamin Peterson
fff5cf67d0
clarify Popen argument
2008-07-27 15:22:14 +00:00