forked from pool/nodejs19
* HTTP(S)/1.1 KeepAlive by default * DTrace/SystemTap/ETW Support were removed * The V8 engine is updated to version 10.7, which is part of Chromium 107. This version include a new feature to the JavaScript API: Intl.NumberFormat * llhttp has been updated to version 8.1.0. For details see https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V19.md#19.0.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs19?expand=0&rev=1
17 lines
306 B
Bash
17 lines
306 B
Bash
#
|
|
# Node can break stdin/stdout/stderr by setting them O_NONBLOCK
|
|
# and then not resetting it back to blocking mode on exit
|
|
# This function redirects stdio descriptors via new logging pipe
|
|
#
|
|
|
|
|
|
function decoupled_cmd
|
|
{
|
|
mkfifo _log
|
|
($@) < /dev/null > _log 2>_log &
|
|
cat _log
|
|
rm _log
|
|
wait $!
|
|
}
|
|
|