1
0
Fork 0
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:
QC 2014-07-21 22:22:16 +02:00
parent cd4888a5cf
commit 9ecf1e13a7

View file

@ -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 );
} }