On 09.10.2015 12:26, Ville Skyttä wrote:
On Fri, Oct 9, 2015 at 1:05 PM, Sandro Mani <manisandro@xxxxxxxxx> 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;
Thanks!
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct