1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +02:00

core: add binary weechat-headless to run WeeChat without interface (closes #1120)

The optional command line option "--daemon" runs WeeChat like a daemon
(fork, new process group, file descriptors closed).
This commit is contained in:
Sébastien Helleu
2018-03-11 09:59:39 +01:00
parent 0126b03f47
commit 805717e9ec
68 changed files with 1844 additions and 680 deletions
+1
View File
@@ -197,6 +197,7 @@ main (int argc, char *argv[])
/* init WeeChat */
printf ("------------------------------------------------------------\n");
weechat_init_gettext ();
weechat_init (weechat_argc, weechat_argv, &test_gui_init);
if (weechat_argv)
string_free_split (weechat_argv);