Help for this page
capture('bash', '-o', 'pipefail', '-c', 'cat "$1" | wc -l', 'dummy', $file)
capture('wc', '-l', $file)