Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Add "exit" Windows shell built-in to auto_execok

Closed / Fixed1a89eba3761f62eeb9b75139260f00281366592cCreated 5 years agoUpdated 5 years ago
Descriptionwiki2021-07-13 22:19:12
"exit" is a Windows shell built-in that is missing from auto_execok.

I expect [auto_execok exit] to return C:/Windows/System32/cmd.exe /c exit, but instead it returns blank.

I need this because "exit 1" is a replacement for the Unix "false" command, which I use in a tcltest suite.

Please add "exit" to the shellBuiltins list appearing in init.tcl.

jan.nijtmanswiki2021-07-16 16:08:28

Added to all branches now.

Thanks for the report!

Log in (anonymous is fine) to add a comment.