On 30 Aug 2019, at 08:49, Benjamin 
<wangchao.nlp....@gmail.com<mailto:wangchao.nlp....@gmail.com>> wrote:

Then I tried to use "sudo" to execute the command, but the environment 
variables can't be carried over into the command;

This is a sudo configuration issue. See sudo --preserve-env etc.

Best regards,
Jakob

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/A561E38F-B8EB-4F19-811D-1219803C47F4%40kastelo.net.

Reply via email to