texlive[66420] Master/tlpkg/TeXLive/TLUtils.pm: User proper null

commits+preining at tug.org commits+preining at tug.org
Tue Mar 7 09:30:27 CET 2023


Revision: 66420
          http://tug.org/svn/texlive?view=revision&revision=66420
Author:   preining
Date:     2023-03-07 09:30:26 +0100 (Tue, 07 Mar 2023)
Log Message:
-----------
User proper null device on Windows

Modified Paths:
--------------
    trunk/Master/tlpkg/TeXLive/TLUtils.pm

Modified: trunk/Master/tlpkg/TeXLive/TLUtils.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLUtils.pm	2023-03-07 07:31:37 UTC (rev 66419)
+++ trunk/Master/tlpkg/TeXLive/TLUtils.pm	2023-03-07 08:30:26 UTC (rev 66420)
@@ -719,8 +719,9 @@
 =cut
 
 sub system_ok {
+  my $nulldev = nulldev();
   my ($cmdline) = @_;
-  `$cmdline >/dev/null 2>&1`;
+  `$cmdline >$nulldev 2>&1`;
   return $? == 0;
 }
 



More information about the tex-live-commits mailing list.