Don't use popen directly in integration tests
It is more maintainable to use the ShellClient
interface in integration tests instead of manually calling popen()
with a patched environment: ShellClient
already takes care of patching the appropriate env variables, as well as capturing the process output and signals.