WLJS LogoWLJS Notebook

Run

Run["command"] runs command as an external OS command, returning the exit code.

Examples

Run a command:

Run["ls -la"]
(* 0 *)

Exit code 0 indicates success:

Run["echo 'Hello World'"]
(* 0 *)

Please visit the official Wolfram Language Reference for more details.

On this page