Modify environment variable for subprocess

loial jldunn2000 at gmail.com
Wed Sep 23 05:51:53 EDT 2015


I need to modify the LIBPATH environment variable when running a process via subprocess, but otherwise retain the existing environment.

Whats the best way to do that?




More information about the Python-list mailing list