File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,10 @@ underlying :class:`Popen` interface can be used directly.
81
81
82
82
If *env * is not ``None ``, it must be a mapping that defines the environment
83
83
variables for the new process; these are used instead of the default
84
- behavior of inheriting the current process' environment. It is passed directly
85
- to :class: `Popen `.
84
+ behavior of inheriting the current process' environment. It is passed
85
+ directly to :class: `Popen `. This mapping can be str to str on any platform
86
+ or bytes to bytes on POSIX platforms much like :data: `os.environ ` or
87
+ :data: `os.environb `.
86
88
87
89
Examples::
88
90
@@ -619,7 +621,9 @@ functions.
619
621
620
622
If *env * is not ``None ``, it must be a mapping that defines the environment
621
623
variables for the new process; these are used instead of the default
622
- behavior of inheriting the current process' environment.
624
+ behavior of inheriting the current process' environment. This mapping can be
625
+ str to str on any platform or bytes to bytes on POSIX platforms much like
626
+ :data: `os.environ ` or :data: `os.environb `.
623
627
624
628
.. note ::
625
629
You can’t perform that action at this time.
0 commit comments