Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[varnish] fix
varnishadm
subp call with sudo
When calling subprocess with an argv-like array, argv[0] needs to be the program to execute and not a sequence of programs like `sudo someprogram`. Otherwise this results in: `OSError: [Errno 2] No such file or directory` when trying to find the `sudo someprogram` executable in the PATH.
- Loading branch information