0782a9fe6d
Use spawn + write_all + wait_with_output instead of output() so that the constructed ref update commands are actually written to the subprocess stdin.