waveterm/waveshell/pkg/shellapi
Mike Sawka 6919dbfb5f
force our exit trap to always run (for rtnstate commands) (#556)
* add command validation to shellapi.  mock out bash/zsh versions

* implement validate command fn bash and zsh

* test validate command

* change rtnstate commands to always end with a builtin, so we always get our exit trap to run

* simplify the rtnstate modification, don't add the 'wait' (as this is a different problem/feature)

* update schema
2024-04-09 11:33:23 -07:00
..
bashapi.go force our exit trap to always run (for rtnstate commands) (#556) 2024-04-09 11:33:23 -07:00
bashparser.go force our exit trap to always run (for rtnstate commands) (#556) 2024-04-09 11:33:23 -07:00
shellapi.go force our exit trap to always run (for rtnstate commands) (#556) 2024-04-09 11:33:23 -07:00
zshapi_test.go force our exit trap to always run (for rtnstate commands) (#556) 2024-04-09 11:33:23 -07:00
zshapi.go force our exit trap to always run (for rtnstate commands) (#556) 2024-04-09 11:33:23 -07:00