[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-11-09 Thread swgmma
swgmma added the comment: Just squashed all the commits. -- ___ Python tracker <https://bugs.python.org/issue30082> ___ ___ Python-bugs-list mailing list Unsub

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-11-02 Thread swgmma
Change by swgmma : -- versions: +Python 3.11 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue30082> ___ ___ Python-bugs-list mailing list Unsub

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-11-02 Thread swgmma
swgmma added the comment: Anything else left to do? -- ___ Python tracker <https://bugs.python.org/issue30082> ___ ___ Python-bugs-list mailing list Unsub

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-29 Thread swgmma
swgmma added the comment: Thanks all for the guidance. Have gone back to the original `force_hide` with the suggested documentation. -- ___ Python tracker <https://bugs.python.org/issue30

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-29 Thread swgmma
swgmma added the comment: What if we change `force_hide` from True/False to something like "off" | "console" | "all" (defaulting to "off")? -- ___ Python trac

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-28 Thread swgmma
swgmma added the comment: For users who simply want to hide a process' window and do not have intimate knowledge of how the window is created by Windows, is it feasible to just have one option that handles all cases? Or do we have to implement both `force_hide` and `force_hide_console

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-28 Thread swgmma
swgmma added the comment: Just added a commit implementing `force_hide_console`. What is the most trivial way to test it's behaviour? -- ___ Python tracker <https://bugs.python.org/issue30

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-18 Thread swgmma
swgmma added the comment: I implemented your first suggestion for `force_hide`. Should we add your `force_no_window` suggestion as well? -- ___ Python tracker <https://bugs.python.org/issue30

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-14 Thread swgmma
swgmma added the comment: Ping in case anyone from the windows team is available to review the PR -- ___ Python tracker <https://bugs.python.org/issue30

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2020-03-15 Thread swgmma
Change by swgmma : -- pull_requests: -18362 ___ Python tracker <https://bugs.python.org/issue30082> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2020-03-15 Thread swgmma
Change by swgmma : -- pull_requests: +18362 pull_request: https://github.com/python/cpython/pull/18719 ___ Python tracker <https://bugs.python.org/issue30

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2020-03-15 Thread swgmma
Change by swgmma : -- keywords: +patch pull_requests: +18361 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/19014 ___ Python tracker <https://bugs.python.org/issu

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2020-03-15 Thread swgmma
swgmma added the comment: > Try running that script with pythonw.exe instead. That did the trick. Confirmed that the changes are working as intended. Running the test script posted earlier and adding the new `force_hide` kwarg to the subprocess call: With `force_hide=False`, a comm

[issue39808] pathlib: reword docs for stat()

2020-03-01 Thread swgmma
Change by swgmma : -- keywords: +patch pull_requests: +18076 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18719 ___ Python tracker <https://bugs.python.org/issu

[issue39808] pathlib: reword docs for stat()

2020-03-01 Thread swgmma
New submission from swgmma : The docs for stat() (https://docs.python.org/3.9/library/pathlib.html#pathlib.Path.stat) state: > Return information about this path (similarly to os.stat()). The result is > looked up at each call to this method." Nit picks: 1) It states "simi

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2020-03-01 Thread swgmma
swgmma added the comment: Sorry, perhaps I did not word it clearly. Indeed the code to implement this looks trivial, however the part I am having trouble with is reproducing the reported issue in the first place. For example, running the attached file from a command prompt (`python test.py

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2020-02-29 Thread swgmma
swgmma added the comment: I would like to pick up work on this (have started at link below), however I would like some help: For testing purposes, could someone please provide a minimum working example of using subprocess that causes a command prompt to pop up? I have not been able

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2020-02-28 Thread swgmma
Change by swgmma : -- nosy: +swgmma ___ Python tracker <https://bugs.python.org/issue30082> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth