Crate tenv

Crate tenv 

Source

Structs§

CommandArgs

Functions§

init_ctrlc_handler
ctrl+c handler so that tenv itself can’t be interrupted. Commands run by tenv can still be cancelled, therefore ending the execution of tenv. Not doing this causes problems with starship on powershell.
run
Runs command, while setting environment variables before unsets them after command is completed