all repos — fluxbox @ 650b6f842ba5e996e1159ca78b9bafea9ab58b3c

custom fork of the fluxbox windowmanager

use 'system()' to run 'fluxbox-update_configs'

by using FbCommands::ExecureCmd() we run 'fluxbox-update_configs' in
the bacground while booting a new fluxbox instance already. 'system()'
waits until 'fluxbox-update_configs' is done and then gives the control
back to fluxbox.
Mathias Gumz akira at fluxbox dot org
commit

650b6f842ba5e996e1159ca78b9bafea9ab58b3c

parent

78b09ee932c7b3d1d383c14c202b849f9814eba2

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M src/main.ccsrc/main.cc

@@ -29,7 +29,6 @@ #include "version.h"

#include "defaults.hh" #include "Debug.hh" -#include "FbCommands.hh" #include "FbTk/Theme.hh" #include "FbTk/I18n.hh"

@@ -395,8 +394,7 @@

string commandargs = realProgramName("fluxbox-update_configs"); commandargs += " -rc " + rc_file; - FbCommands::ExecuteCmd fbuc(commandargs, 0); - fbuc.execute(); + system(commandargs.c_str()); } }