mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
Small fix for easier scripting.
This commit is contained in:
parent
cd4888a5cf
commit
9ecf1e13a7
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ char **execute_executor ( ScriptOptions *options, const char *result, unsigned i
|
||||||
{
|
{
|
||||||
char **retv = NULL;
|
char **retv = NULL;
|
||||||
char *command;
|
char *command;
|
||||||
if ( asprintf ( &command, "%s %s", options->script_path, result ) > 0 ) {
|
if ( asprintf ( &command, "%s '%s'", options->script_path, result ) > 0 ) {
|
||||||
retv = get_script_output ( command, length );
|
retv = get_script_output ( command, length );
|
||||||
free ( command );
|
free ( command );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue