Update changes in run_* commands

This commit is contained in:
Sanel Zukan
2009-02-27 14:51:55 +00:00
parent 579d834856
commit 99c4913b8c
6 changed files with 11 additions and 13 deletions

View File

@@ -39,12 +39,12 @@ EDELIB_NS_USING(dir_list)
EDELIB_NS_USING(system_config_dirs)
EDELIB_NS_USING(user_config_dir)
EDELIB_NS_USING(str_ends)
EDELIB_NS_USING(run_program)
EDELIB_NS_USING(run_async)
#ifdef DEBUG_AUTOSTART_RUN
#define AUTOSTART_RUN(s) E_DEBUG("Executing %s\n", s)
#else
#define AUTOSTART_RUN(s) run_program(s, false)
#define AUTOSTART_RUN(s) run_async(s)
#endif
struct DialogEntry {

View File

@@ -29,7 +29,7 @@ EDELIB_NS_USING(String)
EDELIB_NS_USING(Resource)
EDELIB_NS_USING(build_filename)
EDELIB_NS_USING(dir_exists)
EDELIB_NS_USING(run_program)
EDELIB_NS_USING(run_async)
EDELIB_NS_USING(RES_SYS_ONLY)
#ifndef EDEWM_HAVE_NET_SPLASH
@@ -272,7 +272,7 @@ bool Splash::next_client(void) {
/* run command */
if(!dryrun)
run_program(cmd, false);
run_async(cmd);
++slist_it;
++counter;
@@ -303,7 +303,7 @@ bool Splash::next_client_nosplash(void) {
/* run command */
if(!dryrun)
run_program(cmd, false);
run_async(cmd);
++slist_it;
++counter;