Lintian::IO::Async(3)

Lintian::IO::Async3

Process functions based on io::async

Usage

 use Lintian::IO::Async qw(safe_qx);

Overview

This module contains process functions based on IO::Async.

Functions

"safe_qx(@cmd)"

Emulates the "qx()" operator but with array argument only.

get_deb_info(DEBFILE)

Extracts the control file from DEBFILE and returns it as a hashref.

DEBFILE must be an ar file containing a "control.tar.gz" member, which in turn should contain a "control" file. If the "control" file is empty this will return an empty list.

Note: the control file is only expected to have a single paragraph and thus only the first is returned (in the unlikely case that there are more than one).

unpack_and_index_piped_tar

From lintian 2.104.0 in Debian 11 (Bullseye). Parsed by carta from the page's man source.