mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add option '--exec <command>' for running shell command
Runs shell command with I/O redirected to device.
This commit is contained in:
parent
545d473220
commit
e75e19eb00
9 changed files with 89 additions and 10 deletions
|
|
@ -282,6 +282,7 @@ static void config_parse_keys(GKeyFile *key_file, char *group)
|
|||
g_free((void *)string);
|
||||
string = NULL;
|
||||
}
|
||||
config_get_string(key_file, group, "exec", &option.exec, NULL);
|
||||
config_get_string(key_file, group, "prefix-ctrl-key", &string, NULL);
|
||||
if (string != NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue