Opened 15 years ago
Last modified 10 years ago
#398 new enhancement
Possibility to pipe more commands together
Reported by: | rozelak@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | General | Version: | |
Keywords: | pipe | Cc: | |
Operating System: |
Description
We have a set of scripts, which must be piped together. It would be nice to be able to call such a sequence from bitten. To complicate it, the piped sequence is split in few points (tee command). It may look like:
a --> b --> c +-> d --> e --> f +-> i +-> m +-> j +-> k +-> l
To complicate it even more, some of the scripts require quite large memory (some of those i,j,k,l), so it would be cool to have a possibility telling that some of scripts are supposed to wait until another finishes to prevent swapping and to be able to process output of another command(s) as well (e.g. start j and k when i and m is done). Of course, it means that bitten must buffer output of a script.
Well, there could a possibility to store the files to disc, but unique names ot outputs would have to be generated, making configuration complicated - much simpler is just to say "read output of 'b'". Also files should be deleted manually and may be left if build fails (last delete command is not called), which is not the case of piping.
Thank you very much Dan