+ char *program = (char *) malloc (strlen (oprogram) + 50);
+
+ /* oprogram contains a "%d" where the current number of columns goes
+ */
+ strcpy (program, "( ");
+ sprintf (program + strlen(program), oprogram, state->grid_width);
+ strcat (program, " ) 2>&1");