]> git.ozlabs.org Git - petitboot/commit
ui/ncurses: Update cui_run_cmd() to pass display to command
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 15 Feb 2017 03:47:45 +0000 (14:47 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 15 Aug 2017 03:38:17 +0000 (13:38 +1000)
commitd90efe9e2bbfb18ee05ec2032b5723dbfa902d82
treec576ccae13ca2f9264f18c9777a9f275f9a74cef
parent37feda62bd2835eabc779d275301a9b763521f7a
ui/ncurses: Update cui_run_cmd() to pass display to command

Update cui_run_cmd() to setup a process that uses 'raw_stdout' so that
output is displayed on the screen instead of being caught in the log.
Also update cui_run_cmd() to take a more generic list of arguments, and
add a cui_run_cmd_from_item() wrapper for the existing user.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
ui/ncurses/nc-cui.c
ui/ncurses/nc-cui.h