simon mackenzie <simo...@gmail.com> added the comment:
Technically true but I am not the first person to have incorrectly interpreted this that it can be a string which suggests it is not clear to the reader. Maybe should be explicitly stated in the description of run as it is not obvious or intuitive. On Thu, 15 Aug 2019 at 13:47, SilentGhost <rep...@bugs.python.org> wrote: > > SilentGhost <ghost....@runbox.com> added the comment: > > The only place this phrase appears is in CompletedProcess.args description > and it is correct there. Whether args arguments of subprocess.run (or > generally Popen) can be a list or a string is discussed in Frequently Used > Arguments section, and it is perfectly clear from reading the text under > which condition you can pass a string as args argument. I don't think > anything needs fixing, both implementation and docs are correct. > > ---------- > assignee: -> docs@python > components: +Documentation > nosy: +SilentGhost, docs@python > type: -> behavior > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <https://bugs.python.org/issue37867> > _______________________________________ > ---------- title: docs says subprocess.run accepts a string but this does not work on linux -> docs says subprocess.run accepts a string but this does not work on linux _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37867> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com