I have tried to extract environment variables in Python process, but on some machines I get an error:
> env -0
env: invalid option -- '0'
> env --null
env: unrecognized option '--null'
> env --version
env (GNU coreutils) 6.12
Copyright (C) 2008 Free Software Foundation, Inc.
In which version was the argument introduced? Is there any alternative command to extract the environment?
Aucun commentaire:
Enregistrer un commentaire