On Sat, 2011-01-22 at 09:03 -0600, Jeremiah Benham wrote: > The only things using g_spawn_sync is convert-ly. Everything else is > async. No, it's just that things like export midi, lily... don't need anything external at all, so they use no spawn function. But they are synchronous. So some re-organization is needed e.g. the array supported_export_file_formats[] could be passed to the create_filename() function (in file.c) which could be made external and a separate async_export_formats[] array made for .pdf and .png Or the elements of supported_export_file_formats[] could have another field indicating whether they were sync or async (ie internally or externally generated) - in this last case the export of .ly etc and of .pdf etc could be made more uniform for the user, that is, the .pdf and .png could be launched from the same Export/Create Copy menu item rather than separate entries for them. So once the user has chosen .pdf, say, they would get your current code running by testing the Async field, while if they choose .ly they will get the internal generation stuff running...
Richard _______________________________________________ Denemo-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/denemo-devel
