witty-crayon-22786
04/17/2018, 11:19 AMaverage-vr-56795
04/17/2018, 11:19 AMwitty-crayon-22786
04/17/2018, 11:25 AMwitty-crayon-22786
04/17/2018, 11:26 AMwitty-crayon-22786
04/17/2018, 11:26 AMwitty-crayon-22786
04/17/2018, 11:27 AMwitty-crayon-22786
04/17/2018, 11:27 AMwitty-crayon-22786
04/17/2018, 11:28 AMwitty-crayon-22786
04/17/2018, 11:28 AMwitty-crayon-22786
04/17/2018, 11:29 AMwitty-crayon-22786
04/17/2018, 11:30 AMhappy-kitchen-89482
04/17/2018, 2:56 PMaverage-vr-56795
04/17/2018, 3:55 PMdatatype
but which takes a map of name -> type and automatically does the isinstance checking for youaverage-vr-56795
04/17/2018, 3:56 PMclass CatExecutionRequest(typeddatatype('CatExecutionRequest', [('shell_cat_binary', ShellCat), ('input_file_globs', PathGlobs)])
or somethingaverage-vr-56795
04/17/2018, 3:57 PMaverage-vr-56795
04/17/2018, 3:57 PMaverage-vr-56795
04/17/2018, 4:01 PMoutput="$(cat "${input_files[@]}")"
exit_code=$?
or pythonâs
subprocess.check_output(["cat"] + input_files)
doesnât feel great ergonomicallyâŚ
(But this is how we work that out đ)average-vr-56795
04/17/2018, 4:03 PMaloof-angle-91616
04/17/2018, 4:18 PMaloof-angle-91616
04/17/2018, 4:20 PMaverage-vr-56795
04/17/2018, 4:21 PMaloof-angle-91616
04/17/2018, 4:21 PMaverage-vr-56795
04/17/2018, 4:21 PMaloof-angle-91616
04/17/2018, 4:22 PMaloof-angle-91616
04/17/2018, 4:22 PMaloof-angle-91616
04/17/2018, 4:23 PMaloof-angle-91616
04/17/2018, 4:23 PMaverage-vr-56795
04/17/2018, 4:24 PMaverage-vr-56795
04/17/2018, 4:24 PMaloof-angle-91616
04/17/2018, 4:25 PM