using GLib;

int main(string[] args)
{
  Gtk.init(ref args);
  var flags = AppInfoCreateFlags.SUPPORTS_STARTUP_NOTIFICATION;
  var ctx = Gdk.Display.get_default().get_app_launch_context();
  try {
    var app = AppInfo.create_from_commandline("sleep 5", null, flags);
    app.launch(null, ctx);
  }
  catch (Error e) {
    warning("%s", e.message);
  }
  Gtk.main();
  return 0;
}