`tee`-like pattern for external processes in Julia

I have a large data stream in a pipeline that does compression and uploading. I would like to do two things with the output of the compression:

  1. Upload it as before
  2. Compute a hash (or several hashes)

In the shell it would be something like $ dump_data | compress | tee >(upload) >(hash). Is there an equivalent pattern in Julia?

1 Like