Added support for running software in a terminal from run mode
This commit is contained in:
@@ -63,6 +63,9 @@ void run_init() {
|
||||
}
|
||||
|
||||
void run_exec(const gchar* cmd) {
|
||||
if(wofi_run_in_term()) {
|
||||
wofi_term_run(cmd);
|
||||
}
|
||||
execl(cmd, cmd, NULL);
|
||||
fprintf(stderr, "%s cannot be executed\n", cmd);
|
||||
exit(errno);
|
||||
|
Reference in New Issue
Block a user