It's hard to help you without being able to reproduce the issue with the
Since you are using Scilab on Windows, have you tried
[s, bOK] = powershell("grdinfo crop1.grd")
Le 17/12/2020 à 13:21, arctica1963 a écrit :
> I have an issue with the dos function for running an external program;
> tested in 5.5.2 and 6.1.0 with same result:
> --> [s,bOK]=dos('grdinfo crop1.grd')
> s =
> bOK =
> The result of grdinfo is empty and should give the following if typed at the
> command prompt:
> Hello Samuel,
> Yes I did try the powershell option and it is the same response, the program
> runs (boolean result is true) but the result is not resolved in the output.
> The external program is using GMT (Generic mapping tools) and so that needs
> to be installed to test this issue.
> I also installed 5.4.1 to check and that also gives the same problem.
> I checked the function in Octave (5.1.0) which looks the same as Scilab and
> it gives the proper result:
> https://octave.sourceforge.io/octave/function/dos.html > .../...