`host()` should return stdout and stderr
Bug Description
#7258 lists all duplicated functions to execute a shell command from Scilab. As a first approach, having stdout
and stderr
output arguments on the host command is a need.
Note that unix_g()
might not have all the printed text in stdout
and stderr
on error.
Steps to reproduce
[status, stdout, stderr] = host("ls")
[status, stdout, stderr] = host("ls /non/existing/path")
[status, stdout, stderr] = host("exit 1")