host command does not work
Bug Description
the "host" command does not work in Scilab 2024.0.0 (under win10) the "dos" command works
Steps to reproduce
Just run the following code
clear
clearglobal
//prepare two batch files
[oid]=file('open',"file_host.bat",'unknown');
write(oid,"echo scilab test > out_host.txt",'(a)');
file('close',oid);
[oid]=file('open',"file_dos.bat",'unknown');
write(oid,"echo scilab test > out_dos.txt",'(a)');
file('close',oid);
//run batch
ok1=host("file_host.bat");
disp(ok1);
ok2=dos("file_dos.bat");
disp(ok2);
What is the expected correct behavior?
the host and the dos commands should give the same result (text file written on disk)
Edited by Vincent COUVERT