mirror of
https://github.com/monero-project/monero.git
synced 2025-08-05 09:24:24 -04:00
create a foreground non-interactive mode
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
parent
e960be55ed
commit
44a5b03841
3 changed files with 20 additions and 0 deletions
|
@ -63,6 +63,13 @@ namespace daemonize
|
|||
return t_daemon{vm};
|
||||
}
|
||||
|
||||
bool t_executor::run_non_interactive(
|
||||
boost::program_options::variables_map const & vm
|
||||
)
|
||||
{
|
||||
return t_daemon{vm}.run(false);
|
||||
}
|
||||
|
||||
bool t_executor::run_interactive(
|
||||
boost::program_options::variables_map const & vm
|
||||
)
|
||||
|
|
|
@ -56,6 +56,10 @@ namespace daemonize
|
|||
boost::program_options::variables_map const & vm
|
||||
);
|
||||
|
||||
bool run_non_interactive(
|
||||
boost::program_options::variables_map const & vm
|
||||
);
|
||||
|
||||
bool run_interactive(
|
||||
boost::program_options::variables_map const & vm
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue