: [status, output] = shell(command, return_output, type)

Execute a command within the POSIX shell on WIN32 systems with Msys. On Unix like systems, shell is equivalent to Octave’s builtin system function.

command … command line to be passed to sh after -c

return_output … return the output of the command as a string

type … one of "async", "sync"

[status, output] = shell("ls -lhF .", true, "sync");

Package: mboct-octave-pkg