diff options
author | Norbert Preining <preining@logic.at> | 2023-03-07 08:30:26 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2023-03-07 08:30:26 +0000 |
commit | 8a4b3784738d4961f43f9fc561a94bda601d2d9a (patch) | |
tree | 26404d06706a1871e4c0ac467ac10e685b406d29 /Master | |
parent | 05fb0eca4931dd69d6a4d6ea55280aee881932f2 (diff) |
User proper null device on Windows
git-svn-id: svn://tug.org/texlive/trunk@66420 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/tlpkg/TeXLive/TLUtils.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 2585c4513ee..cc4d49f1ecc 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -719,8 +719,9 @@ if status was nonzero. Throw away stdout and stderr. =cut sub system_ok { + my $nulldev = nulldev(); my ($cmdline) = @_; - `$cmdline >/dev/null 2>&1`; + `$cmdline >$nulldev 2>&1`; return $? == 0; } |