diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-24 02:36:55 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-24 02:36:55 -0400 |
commit | 5d96b8559c0f506fe730afdd21c716787b4a1d1e (patch) | |
tree | c1a59055eea300d69746e1bfa7e92f7ed69056b9 /usr.bin/kfgwm/Makefile | |
parent | f2312b4af97185a266d1a145b90f36b4cdfb57b3 (diff) |
usr.bin: osh: Implement shell script parsing
Previously, OSH was only capable of interpreting commands that came
directly from the console. This commit allows calling /usr/bin/osh while
passing a path to a script to be parsed and interpreted. This commit
additionally adds a `command_match()` routine to simplify the matching of
commands. On top of this, cmd_run() now also takes a `wait` argument
that allows the caller to specify whether not to daemonize the spawned
process or wait on its execution to finish.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/kfgwm/Makefile')
0 files changed, 0 insertions, 0 deletions