Constructor which execute command by opening a pipe in read or write mode. Valid mode are 'r' (read) or 'w' (write). Default is read mode.

If (and only if) quiet is true, no error will be raised in case of problem opening the file: instead nil will be returned.