From 14e767dad2060073dfce2093c27300c4088f62dc Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Wed, 15 Jan 2020 22:28:43 -0500 Subject: stopped working in uwsgi --- minimun | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minimun b/minimun index ac369cb..f376d9a 100755 --- a/minimun +++ b/minimun @@ -5,13 +5,13 @@ use warnings; use IPC::Run qw(run); use Time::HiRes qw( time ); -my $in; +my ($in, $out); $in .= "\\award\n"; $in .= "\\bye\n"; my $timestamp = time; -run ['/usr/bin/pdftex', '-jobname', "$timestamp", 'format.tex'], '<', \$in; +run ['/usr/bin/pdftex', '-jobname', "$timestamp", 'format.tex'], '<', \$in, '>', \$out; print "Content-type: application/pdf\n\n"; open(DOC, '<', "$timestamp.pdf"); while (){ -- cgit