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

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!

users mailing list

Reply via email to