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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user