<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi Samuel, <br></div><div><br></div><div>try unix_w('chcp 0>&1')<br></div><div><br></div><div>i don't know why, 0 is the stdin, I am not sure why this works. perhaps some one can explain?<br></div><div><br></div><div>Thanks.<br></div><div><br></div><div>Regards,<br></div><div>Chin Luh</div><br><div data-zbluepencil-ignore="true" style="" class="zmail_extra"><br><div id="Zm-_Id_-Sgn1">---- On Wed, 30 Oct 2019 18:48:22 +0800 <b>Samuel Gougeon <sgougeon@free.fr></b> wrote ----<br></div><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div><div class="x_-2064781704moz-cite-prefix">Hello Chin Luh,<br></div><div class="x_-2064781704moz-cite-prefix"><br></div><div class="x_-2064781704moz-cite-prefix">Le 30/10/2019 à 02:33, Chin Luh Tan a
écrit :<br></div><blockquote><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div>Hi Samuel, <br></div><div><br></div><div>I think we could use this instead:<br></div><div><br></div><div>unix_w("Scilex --help 2>&1")<br></div></div></blockquote><div class="x_-2064781704moz-cite-prefix">It works perfectly. Thanks.<br> <br> I have tried the same workaround for another MSDOS command, but
unfortunately it does not work:</div><div class="x_-2064781704moz-cite-prefix">--> unix_w("chcp")<br> --> unix_w("chcp 2>&1")<br></div><div class="x_-2064781704moz-cite-prefix"><br>Regards<br> Samuel</div><br></div>_______________________________________________<br>users mailing list <br>users@lists.scilab.org <br>http://lists.scilab.org/mailman/listinfo/users <br></blockquote></div><div><br></div></div><br></body></html>