Use full paths to binaries under test:
`system "yes | #{bin}/paq8px test.txt.paq8px"`