acu115916 added support for cleaning env vars during popen