mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Removed 'wait' parameter from spawn_program
This commit is contained in:
parent
df1dfbfc41
commit
d48f8e4c24
@ -247,7 +247,7 @@ int EvokeService::handle(const XEvent* ev) {
|
||||
|
||||
if(get_string_property_value(_ede_spawn, buff, sizeof(buff))) {
|
||||
logfile->printf("Got _EVOKE_SPAWN with %s. Starting client...\n", buff);
|
||||
int r = spawn_program(buff, false);
|
||||
int r = spawn_program(buff);
|
||||
|
||||
if(r != 0)
|
||||
fl_alert("Unable to start %s. Got code %i", buff, r);
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
extern char** environ;
|
||||
|
||||
int run_fork(const char* cmd, bool wait) {
|
||||
int spawn_program(const char* cmd) {
|
||||
if(!cmd)
|
||||
return SPAWN_EMPTY;
|
||||
|
||||
@ -62,8 +62,3 @@ int run_fork(const char* cmd, bool wait) {
|
||||
|
||||
return status_ret;
|
||||
}
|
||||
|
||||
|
||||
int spawn_program(const char* cmd, bool wait) {
|
||||
return run_fork(cmd, wait);
|
||||
}
|
||||
|
@ -28,6 +28,6 @@
|
||||
#define SPAWN_PTY_FAILED 65529 // TODO
|
||||
#define SPAWN_USER_CANCELED 65528 // TODO
|
||||
|
||||
int spawn_program(const char* cmd, bool wait);
|
||||
int spawn_program(const char* cmd);
|
||||
|
||||
#endif
|
||||
|
@ -216,7 +216,7 @@ bool Splash::next_client(void) {
|
||||
redraw();
|
||||
|
||||
if(!dry_run)
|
||||
spawn_program(cmd, false);
|
||||
spawn_program(cmd);
|
||||
|
||||
++clist_it;
|
||||
++counter;
|
||||
@ -243,7 +243,7 @@ bool Splash::next_client(void) {
|
||||
redraw();
|
||||
|
||||
if(!dry_run)
|
||||
spawn_program(cmd, false);
|
||||
spawn_program(cmd);
|
||||
|
||||
counter++;
|
||||
#endif
|
||||
@ -272,7 +272,7 @@ bool Splash::next_client_nosplash(void) {
|
||||
printf("%s\n", buff);
|
||||
|
||||
if(!dry_run)
|
||||
spawn_program(cmd, false);
|
||||
spawn_program(cmd);
|
||||
|
||||
++clist_it;
|
||||
++counter;
|
||||
@ -298,7 +298,7 @@ bool Splash::next_client_nosplash(void) {
|
||||
printf("%s\n", buff);
|
||||
|
||||
if(!dry_run)
|
||||
spawn_program(cmd, false);
|
||||
spawn_program(cmd);
|
||||
|
||||
counter++;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user