[Scilab-users] unix_w(WSCI+"\bin\scilex --help") returns nothing
Chin Luh Tan
chinluh.tan at bytecode-asia.com
Wed Oct 30 14:45:29 CET 2019
Hi Samuel,
try unix_w('chcp 0>&1')
i don't know why, 0 is the stdin, I am not sure why this works. perhaps some one can explain?
Thanks.
Regards,
Chin Luh
---- On Wed, 30 Oct 2019 18:48:22 +0800 Samuel Gougeon <sgougeon at free.fr> wrote ----
Hello Chin Luh,
Le 30/10/2019 à 02:33, Chin Luh Tan a
écrit :
Hi Samuel,
I think we could use this instead:
unix_w("Scilex --help 2>&1")
It works perfectly. Thanks.
I have tried the same workaround for another MSDOS command, but
unfortunately it does not work:
--> unix_w("chcp")
--> unix_w("chcp 2>&1")
Regards
Samuel
_______________________________________________
users mailing list
users at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20191030/d89b8228/attachment.htm>
More information about the users
mailing list