Created attachment 6873 Proposed patch Short version: Output redirection is not always preferable and sometimes even impossible in certain build tools. Longer version: https://bugzilla.gnome.org/show_bug.cgi?id=770175 It would be nice if we offer the same write-to-file functionality that was introduced in glib-genmarshal and glib-mkenums.
Flo referenced this bugreport in commit f6e0495bda40c493bb2d59241489ece69aed8909 Add the possibility to write exo-csource output directly to a file (Bug #12901) https://git.xfce.org/xfce/exo/commit?id=f6e0495bda40c493bb2d59241489ece69aed8909
Tested and approved. Applied at the above commit.