]> granicus.if.org Git - python/commit
Document that on Unix, the 'cmd' argument to the os.popen2/3/4 and
authorJohannes Gijsbers <jlg@dds.nl>
Mon, 11 Oct 2004 18:12:20 +0000 (18:12 +0000)
committerJohannes Gijsbers <jlg@dds.nl>
Mon, 11 Oct 2004 18:12:20 +0000 (18:12 +0000)
commit9fc9789a0d0bd83f3c49fc2837555d022cf52014
treeacbd62ef55224ccf26aa93a68f58e7d7a8c1d3d8
parentc054a8b1a99c15146c9f2092172d04e5c832ffff
Document that on Unix, the 'cmd' argument to the os.popen2/3/4 and
popen2.popen2/3/4 functions can be a sequence. All texts are a variation on the
following:

On \UNIX, \var{cmd} may be a sequence, in which case arguments will be passed
directly to the program without shell intervention (as with
\function{os.spawnv()}). If \var{cmd} is a string it will be passed to the shell
(as with \function{os.system()}).
Doc/lib/libos.tex
Doc/lib/libpopen2.tex
Lib/os.py
Lib/popen2.py