Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bbetter document popenX 'cmd' argument #40991

Closed
jepler mannequin opened this issue Oct 8, 2004 · 2 comments
Closed

bbetter document popenX 'cmd' argument #40991

jepler mannequin opened this issue Oct 8, 2004 · 2 comments
Labels
docs Documentation in the Doc dir

Comments

@jepler
Copy link
Mannequin

jepler mannequin commented Oct 8, 2004

BPO 1042705
Files
  • popen-doc-patch: produced by 'cvs diff -u'
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2004-10-11.18:13:40.000>
    created_at = <Date 2004-10-08.01:43:04.000>
    labels = ['docs']
    title = "bbetter document popenX 'cmd' argument"
    updated_at = <Date 2004-10-11.18:13:40.000>
    user = 'https://bugs.python.org/jepler'

    bugs.python.org fields:

    activity = <Date 2004-10-11.18:13:40.000>
    actor = 'jlgijsbers'
    assignee = 'jlgijsbers'
    closed = True
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2004-10-08.01:43:04.000>
    creator = 'jepler'
    dependencies = []
    files = ['6283']
    hgrepos = []
    issue_num = 1042705
    keywords = ['patch']
    message_count = 2.0
    messages = ['47024', '47025']
    nosy_count = 2.0
    nosy_names = ['jepler', 'jlgijsbers']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1042705'
    versions = []

    @jepler
    Copy link
    Mannequin Author

    jepler mannequin commented Oct 8, 2004

    Documentation and docstrings for the 'cmd'-as-sequence
    usage of popenX functions in os and popen2 on unix.
    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()}).

    See also 888380 for an older patch addressing the same
    issue. If this patch is applied, that tracker item
    should be closed too.

    @jepler jepler mannequin closed this as completed Oct 8, 2004
    @jepler jepler mannequin assigned jlgijsbers Oct 8, 2004
    @jepler jepler mannequin added the docs Documentation in the Doc dir label Oct 8, 2004
    @jepler jepler mannequin closed this as completed Oct 8, 2004
    @jepler jepler mannequin assigned jlgijsbers Oct 8, 2004
    @jepler jepler mannequin added the docs Documentation in the Doc dir label Oct 8, 2004
    @jlgijsbers
    Copy link
    Mannequin

    jlgijsbers mannequin commented Oct 11, 2004

    Logged In: YES
    user_id=469548

    Checking in Doc/lib/libos.tex;
    /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v <--
    libos.tex
    new revision: 1.143; previous revision: 1.142
    done
    Checking in Doc/lib/libpopen2.tex;
    /cvsroot/python/python/dist/src/Doc/lib/libpopen2.tex,v <--
    libpopen2.tex
    new revision: 1.23; previous revision: 1.22
    done
    Checking in Lib/os.py;
    /cvsroot/python/python/dist/src/Lib/os.py,v <-- os.py
    new revision: 1.83; previous revision: 1.82
    /cvsroot/python/python/dist/src/Doc/lib
    done
    Checking in Lib/popen2.py;
    /cvsroot/python/python/dist/src/Lib/popen2.py,v <-- popen2.py
    new revision: 1.30; previous revision: 1.29
    done

    I made a couple of changes before checking in:

    • In libos.tex, I moved the text out of the popen4 function
      description, and into the block above the popen2/3/4
      definitions.
    • In libpopen.text, I moved the text up a bit.
    • In popen2.py, I added the text to the functions in the
      other block of platforms as well.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants