在 vala 中,我正在启动这样的基本操作系统设置:
var appinfo = AppInfo.create_from_commandline ("switchboard", null, AppInfoCreateFlags.SUPPORTS_URIS);
appinfo.launch_uris (list, null);
但这失败了,因为我假设该过程以某种方式隔离运行。
(vpn-status:14798): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)
有什么想法可以正确启动这个外部程序吗?