D 2015-06-05T23:21:40.196 J assignee nobody J closer nobody J cmimetype text/plain J comment Hi,\r\nthere\sis\sno\seasy\sway\sto\spass\scustomized\senvironment\svariables\sto\sa\schild\sprocess.\s\r\n\r\nWhen\stcl\suse\s"exec"\sor\s"open"\swith\spipes,\sall\sthe\senvironment\svariables\sare\sinherited\sto\sthe\schild\sprocess.\sBut\sit's\snot\spossible\sto\sset\sin\sadvance\senvironment\svariables\sdifferent\sfrom\sthe\sparent\sprocess\sand\sexclusive\sfor\sthat\schild\sprocess.\sFor\sexample\sthere\sis\sno\s-env\soption\sin\sthe\s"exec"\scommand\sto\spass\sa\slist\sof\scustomized\senvironment\svariables\sfor\sthe\schild\sprocess.\r\n\r\nIt\sseems\sthat\sthe\sonly\sway\sis\sto\sset\stemporarily\senvironment\svariables\sin\s::env,\sspawn\sa\snew\schild\sprocess,\sand\sthen\srestore\sthat\schanged\senvironment\svariables\sto\stheir\soriginal\svalue. J foundin 8.6 J is_private 0 J login anonymous J priority 5\sMedium J private_contact 1c4b6cdb98c9dfc4d1e74018f3f4efa00ad217e2 J resolution None J severity Minor J status Open J submitter anonymous J subsystem -\sNew\sBuiltin\sCommands J title It's\snot\spossible\sto\spass\scustomized\senvironment\svariables\sto\schild\sprocess J type Bug K d2b144e4612c10f870ee496c1d38a0634f4e7906 U anonymous Z 74e51122617e17c66200deff8c3d7e6c