redirecting stderr not working
Posted: Wed Dec 23, 2015 12:24 pm
$ mocp 2>/dev/null
Running the server...
Trying OSS...
$ mocp &>/dev/null
$
$ newlisp -e "(exec {mocp -i 2>/dev/null})"
()
$
Using (exec {mocp -i 2>/dev/null}) or (exec {mocp -i &>/dev/null}) in a script, I'm getting errors in the bash which is calling the script, even when I call the script with & at the end. Version: newLISP v.10.6.2 32-bit on Linux IPv4/6 UTF-8 libffi.
Running the server...
Trying OSS...
$ mocp &>/dev/null
$
$ newlisp -e "(exec {mocp -i 2>/dev/null})"
()
$
Using (exec {mocp -i 2>/dev/null}) or (exec {mocp -i &>/dev/null}) in a script, I'm getting errors in the bash which is calling the script, even when I call the script with & at the end. Version: newLISP v.10.6.2 32-bit on Linux IPv4/6 UTF-8 libffi.