c-cube / frog-utils

[frozen] Scheduling and running jobs on a shared computer, then analyse their output
BSD 2-Clause "Simplified" License
5 stars 0 forks source link

frogiter: pass time,errcode,arg,etc. through ENV #20

Closed c-cube closed 9 years ago

c-cube commented 9 years ago

frogiter <file> <cmd> iterates through the results in <file> and pipes the result's output into <cmd>. However <cmd> has no way to obtain other information about the result, such as errcode, time, stderr, and which arg was used.

A good solution would be to pass $TIME, $MAPARG, etc. to <cmd> through its environment.

c-cube commented 9 years ago

Also closed through bd7732c82b8