-X -mwindows flag in valac command line is insuficient because the program that I spawn is not builded with this flag.
Any Ideas?
-X -mwindows flag in valac command line is insuficient because the program that I spawn is not builded with this flag.
Any Ideas?
You might want to look into GLib's (or GIO to be exact) GSubprocess
API which is a wrapper around the respective on various operating systems:
https://developer.gnome.org/gio/stable/GSubprocess.html
Word of warning: needs a recent version of GIO (>= 2.40
)
(this should have been a comment, but Im missing the reputation...)