impl.go 255 B

12345678910
  1. package apksigner
  2. import "os/exec"
  3. // RunSync executes Apksigner commands
  4. func (a Apksigner) RunSync(command string, args ...string) ([]byte, error) {
  5. fc := append([]string{command}, args...)
  6. return exec.Command(a.BinPath(), fc...).CombinedOutput()
  7. }