Loïc, could you show the actual failures that happen?
The thing we have to be careful of here is that sudo won't pass $PATH through.
Therefore if we want to amend path in Popen() when as_root=True it needs to be done with sudo's support for explicit environment variable setting.
Thanks,
James
Loïc, could you show the actual failures that happen?
The thing we have to be careful of here is that sudo won't pass $PATH through.
Therefore if we want to amend path in Popen() when as_root=True it needs to be
done with sudo's support for explicit environment variable setting.
Thanks,
James