* intl: Update ICU to 64.2. * c++ API: Added an overload EmitAsyncDestroy that can be used during garbage collection - Notable changes in 12.0.0: * assert: + validate required arguments + adjust loose assertions * async_hooks: + remove deprecated emitBefore and emitAfter + remove promise object from resource * bootstrap: make Buffer and process non-enumerable * buffer: + use stricter range checks + harden SlowBuffer creation + harden validation of buffer allocation size + do proper error propagation in addon methods * child_process: + remove options.customFds + harden fork arguments validation + use non-infinite maxBuffer defaults * console: don't use ANSI escape codes when TERM=dumb * crypto: + remove legacy native handles + decode missing passphrase errors + remove Cipher.setAuthTag() and Decipher.getAuthTag() + remove deprecated crypto._toBuf() + set DEFAULT_ENCODING property to non-enumerable * deps: + update V8 to 7.4.288.13 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs12?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 $!
|
|
}
|
|
|