TheOnlyMrCat
released this
27 Jun 07:11
·
243 commits
to master
since this release
I finished a new system for spawning commands, so output has been completely revamped.
Changes since last beta:
- Command spawning now happens more simultaneously than ever! Executing a pipeline will no longer have an opportunity to mess with the output of
run
. (Unless a command in the pipeline sets the tty to raw mode)... - Additionally,
run
now more closely matches the behaviour of POSIX shells when running pipelines, by giving each intermediate entry its own subshell to execute in, except for the last entry which gets the main context. $*
now works exactly the same as$@
while I figure out what it's actually supposed to do- Output has been completely overhauled! Notable changes include:
- Expanded glob patterns don't expand fully, and instead just display the number of matches
- Strings are highlighted in yellow.
- Redirects and env remaps are displayed inline, rather than separately.
- List output shows which file is being listed, and highlights the default target in yellow.
- Runscript now reads and considers targets from all eligible runscripts in the current directory. Targets in an earlier script shadow those in a later script. In practice, this means you can have a private
.run
file alongside the project's mainrun
file.