)]}'
{"dockerfiles/heat-container-agent/scripts/hooks/script":[{"author":{"_account_id":20498,"name":"Spyros Trigazis","email":"spyridon.trigazis@cern.ch","username":"strigazi"},"change_message_id":"eee688654674bf05a604d8e943aaae249eda298b","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    log.debug(\u0027Running %s, logging to %s\u0027 % (fn, lp))"},{"line_number":72,"context_line":"    subproc \u003d subprocess.Popen([fn], env\u003denv,"},{"line_number":73,"context_line":"                               stdout\u003dsubprocess.PIPE,"},{"line_number":74,"context_line":"                               stderr\u003dsubprocess.PIPE)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    def consumer(label, fd):"},{"line_number":77,"context_line":"        with feeder[label]:"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"1fa4df85_836bde83","line":74,"range":{"start_line":74,"start_character":38,"end_line":74,"end_character":53},"updated":"2020-03-11 08:42:32.000000000","message":"Would it work if we set here STDOUT ?","commit_id":"3b94cd141b22ea8e9a2510968499d0683ce42382"},{"author":{"_account_id":20498,"name":"Spyros Trigazis","email":"spyridon.trigazis@cern.ch","username":"strigazi"},"change_message_id":"ff7aef7df98297c28fd360cdb38c86f4d7543216","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    log.debug(\u0027Running %s, logging to %s\u0027 % (fn, lp))"},{"line_number":72,"context_line":"    subproc \u003d subprocess.Popen([fn], env\u003denv,"},{"line_number":73,"context_line":"                               stdout\u003dsubprocess.PIPE,"},{"line_number":74,"context_line":"                               stderr\u003dsubprocess.PIPE)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    def consumer(label, fd):"},{"line_number":77,"context_line":"        with feeder[label]:"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"1fa4df85_c3a0f694","line":74,"range":{"start_line":74,"start_character":38,"end_line":74,"end_character":53},"in_reply_to":"1fa4df85_232b0a31","updated":"2020-03-11 08:49:09.000000000","message":"This way stderr will be always empty, but this what we expect anyway when we DEBUG this.\n\nIf we want to have them separately, the original plan from Bharat for two file was very good.","commit_id":"3b94cd141b22ea8e9a2510968499d0683ce42382"},{"author":{"_account_id":28022,"name":"Bharat Kunwar","email":"brtknr@bath.edu","username":"brtknr"},"change_message_id":"4eecf6eeac03289a3b8c40e08ec646e1a21503af","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    log.debug(\u0027Running %s, logging to %s\u0027 % (fn, lp))"},{"line_number":72,"context_line":"    subproc \u003d subprocess.Popen([fn], env\u003denv,"},{"line_number":73,"context_line":"                               stdout\u003dsubprocess.PIPE,"},{"line_number":74,"context_line":"                               stderr\u003dsubprocess.PIPE)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    def consumer(label, fd):"},{"line_number":77,"context_line":"        with feeder[label]:"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"1fa4df85_23b54ace","line":74,"range":{"start_line":74,"start_character":38,"end_line":74,"end_character":53},"in_reply_to":"1fa4df85_232b0a31","updated":"2020-03-11 08:50:12.000000000","message":"Yes it kind of works but stderr becomes empty....","commit_id":"3b94cd141b22ea8e9a2510968499d0683ce42382"},{"author":{"_account_id":20498,"name":"Spyros Trigazis","email":"spyridon.trigazis@cern.ch","username":"strigazi"},"change_message_id":"3520450ac8fb11638e73441f7e3bc7549efdea47","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    log.debug(\u0027Running %s, logging to %s\u0027 % (fn, lp))"},{"line_number":72,"context_line":"    subproc \u003d subprocess.Popen([fn], env\u003denv,"},{"line_number":73,"context_line":"                               stdout\u003dsubprocess.PIPE,"},{"line_number":74,"context_line":"                               stderr\u003dsubprocess.PIPE)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    def consumer(label, fd):"},{"line_number":77,"context_line":"        with feeder[label]:"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"1fa4df85_232b0a31","line":74,"range":{"start_line":74,"start_character":38,"end_line":74,"end_character":53},"in_reply_to":"1fa4df85_836bde83","updated":"2020-03-11 08:44:17.000000000","message":"subprocess.STDOUT\nSpecial value that can be used as the stderr argument to Popen and indicates that standard error should go into the same handle as standard output.\n\nhttps://docs.python.org/3/library/subprocess.html","commit_id":"3b94cd141b22ea8e9a2510968499d0683ce42382"}]}
