helper: separate helper args fd builder from dbus

This method of passing arguments is used in bubblewrap as well as other tools, this commit separates the argument builder/writer to the helper package and generalise it as an interface.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-09-24 16:11:08 +09:00
parent 1cb90c0840
commit 000607da5f
4 changed files with 114 additions and 13 deletions

4
helper/helper.go Normal file
View File

@@ -0,0 +1,4 @@
/*
Package helper runs external helpers and manages their status and args FDs.
*/
package helper