Small fix for easier scripting.

This commit is contained in:
QC 2014-07-21 22:22:16 +02:00
parent cd4888a5cf
commit 9ecf1e13a7
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ char **execute_executor ( ScriptOptions *options, const char *result, unsigned i
{
char **retv = NULL;
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 );
free ( command );
}