(return a dict of stdout stderr exitcode - no output until completion)
(return a dict of stdout stderr exitcode - no output until completion)
The run... commands attempt to make it clear if an called process outputs a trailing newline by displaying a trailing blank line.
The run... commands attempt to make it clear if a called process outputs a trailing newline by displaying a trailing blank line.
The optional `-n` argument can be used to suppress a trailing newline.
The optional `-n` argument can be used to suppress a trailing newline.
`runout -n pwd` is thus **similar** to Tcl's `exec pwd`
`runout -n pwd` is thus **similar** to Tcl's `exec pwd`
For simple cases `exec <command>` is fine - but the equivalent `runout -n <command>` when used in the shell will display exitcode and stderr separately (whilst returning only stdout)
For simple cases `exec <command>` is fine - but the equivalent `runout -n <command>` when used in the shell will display exitcode and stderr separately (whilst returning only stdout)
@ -46,7 +46,7 @@ BSD license
- `n/ <childns>` - if the argument doesn't contain glob chars '*' or '?' - attempt to switch to a child namespace of that name. Analogous to `cd <dir>`
- `n/ <childns>` - if the argument doesn't contain glob chars '*' or '?' - attempt to switch to a child namespace of that name. Analogous to `cd <dir>`
list any sub namespaces of the namespace we just switched to.
list any sub namespaces of the namespace we just switched to.
- `n//` - display child namespaces and commands (alias `://`)
- `n//` - display child namespaces and commands (alias `://`)
with colourised indication of type such as proc,alias,ensemble,imported,exported where possible.
with colourised indication of type such as proc,alias,ensemble,oo object,oo class,imported,exported where possible.
(renamed aliases and builtins and commands loaded from binaries will appear unmarked)
(renamed aliases and builtins and commands loaded from binaries will appear unmarked)
- `nn/` - move up one namespace towards root namespace '::' analogous to `cd ..` (alias `::/`)
- `nn/` - move up one namespace towards root namespace '::' analogous to `cd ..` (alias `::/`)
- `n/new <somename>` - create a child namespace called 'somename' and switch to it in one operation. (alias `:/new`)
- `n/new <somename>` - create a child namespace called 'somename' and switch to it in one operation. (alias `:/new`)
@ -61,6 +61,7 @@ BSD license
- raw mode REPL (read-eval-print-loop) to allow commandline completion etc. Initial version is linemode. (intention is to allow different REPLs to be plugged)
- raw mode REPL (read-eval-print-loop) to allow commandline completion etc. Initial version is linemode. (intention is to allow different REPLs to be plugged)
- documentation!
- documentation!
- tests
- tests
- signal handling on unix-like platforms (ctrl-c implemented on windows only)