Hi all,

I previously queried an issue with the dos function in Scilab 6.1.1 not
working as it should; i.e. dos('grdinfo file.grd') would fail and return F.

However, the workaround is the following: [result, bOK]=dos('exit | grdinfo
file.grd')

This will write the result and return T, but not leave the command window
open (if start was used instead). This could be put into a wrapper function:

function [result, bOK]=dos_win(x)
    [result, bOK] = dos('exit |'+ x)endfunction

It is interesting how basic dos commands work fine (e.g. dir, copy etc).
More of an observation on the current behaviour on Windows (10).

At least one knows how to make it work now!

Lester
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to