change capture_stdout accept argv