aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/executor.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-21 14:10:36 +0200
committerRiccardo Spagni <ric@spagni.net>2017-03-21 14:10:36 +0200
commit4b345313072bf6f37552dc8ebd6551f81cf66043 (patch)
tree6c74a9c66a107bdca6604cd2264f6e366dbc6091 /src/daemon/executor.cpp
parentMerge pull request #1904 (diff)
parentcreate a foreground non-interactive mode (diff)
downloadmonero-4b345313072bf6f37552dc8ebd6551f81cf66043.tar.xz
Merge pull request #1897
44a5b038 create a foreground non-interactive mode (Noah Watkins)
Diffstat (limited to 'src/daemon/executor.cpp')
-rw-r--r--src/daemon/executor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/daemon/executor.cpp b/src/daemon/executor.cpp
index 53e1c7647..6130bfa28 100644
--- a/src/daemon/executor.cpp
+++ b/src/daemon/executor.cpp
@@ -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
)