output-item: Make label a part of every output_item.
[pspp] / src / language / utilities / host.c
index 6298db2d8b5e581dddefc9648a849e97db473918..9d19620f7cf7c1ec82f4186755131e79205ece6f 100644 (file)
@@ -261,7 +261,8 @@ run_command (const char *command, struct timespec timeout)
       if (end > output && end[-1] == '\n')
         end[-1] = '\0';
 
-      text_item_submit (text_item_create_nocopy (TEXT_ITEM_LOG, output));
+      text_item_submit (text_item_create_nocopy (TEXT_ITEM_LOG, output,
+                                                 xstrdup (_("Host Output"))));
     }
   free (locale_output);