[Scilab-users] Windows shell command
Stefan Du Rietz
sdr at durietz.se
Wed Oct 28 18:04:17 CET 2015
If I repeat the command, which shall only update older files in the
target directory, nothing is done, but I get
stat =
0.
rep =
!
the output OK ... !
However, the successful command gives stat = 1 like an erroneous
command! So there must be a bug or am I missing something?
Regards
Stefan
On 2015-10-28 00:32, Stefan Du Rietz wrote:
> Hello,
>
> I want to run and get the output from the command robocopy under
> Windows 10 from Scilab. I have tried the Scilab functions unix_g(),
> dos(), and powershell() but I always get the same empty output:
>
>
>
> ->[rep, stat] = unix_g(cmd)
>
> stat =
>
> 1.
>
> rep =
>
>
>
>
> However, the command is successful: the files are copied OK.
>
>
>
> If I run the command (cmd) from Windows "Command Prompt" or "Select
> Windows PowerShell" I get the output.
>
>
>
> If I use xcopy I also get the output from Scilab
> .
>
>
> Regards
>
> Stefan
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
More information about the users
mailing list