On Fri, Oct 9, 2015 at 1:05 PM, Sandro Mani <[email protected]> wrote:
> can anyone suggest an alternative way to accomplish the same which
> does not use spawn from Dpkg::IPC?
>
> [1]
> https://github.com/Debian/devscripts/commit/c0687bcde23108dd42e146573c368b6905e6b8e8

# at top of licensecheck
use IPC::Run qw(run);
# then later to get the desired output to $mime
my $mime;
run [qw(file --brief --mime --dereference), $file], \undef, \$mime;
-- 
devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to