[docs] [issue15533] subprocess.Popen(cwd) documentation: Posix vs Windows

Damon Atkins report at bugs.python.org
Wed Jun 13 23:33:29 EDT 2018

Damon Atkins <damon.atkins at gmail.com> added the comment:

>From https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425.aspx

Note Python is using CreateProcess(), consider using CreateProcessW()

The Unicode version of this function, CreateProcessW, can modify the contents of this string. Therefore, this parameter cannot be a pointer to read-only memory (such as a const variable or a literal string). If this parameter is a constant string, the function may cause an access violation.


Python tracker <report at bugs.python.org>

More information about the docs mailing list