[Process] Use correct test for empty string in UnixPipes

Process sometimes omit `0` as the test use PHP's equality to check read string. This PR correctly check for empty string.

Fix for `master` branch also available in this repository.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

this works correctly in bash, however in does not work in sh (`-n` option does not exist). PHP might wrap commands with sh and results with `-n 0` as output (for example on my laptop).

You can use `printf 0` which result in the same output and is much more compatible I think.