Commit 2e637a0b authored by reggie@big_geek's avatar reggie@big_geek

fix issue with IM that causes commandlines that are executed to be incorrect.

parent c88f0e9c
...@@ -181,6 +181,7 @@ static int start_process(Instance_options *instance_options, ...@@ -181,6 +181,7 @@ static int start_process(Instance_options *instance_options,
if (cmdline == NULL) if (cmdline == NULL)
return 1; return 1;
cmdline[0]= 0;
for (int i= 0; instance_options->argv[i] != 0; i++) for (int i= 0; instance_options->argv[i] != 0; i++)
{ {
strcat(cmdline, "\""); strcat(cmdline, "\"");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment