Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2021-07-16
16:08 • Closed ticket [1a89eba376]: Add "exit" Windows shell built-in to auto_... artifact: e7c8daf321 user: jan.nijtmans
2021-07-14
16:06
Fix [1a89eba3761f62ee]: Add "exit" Windows shell built-in to auto_execok check-in: 89bea63fd2 user: jan.nijtmans tags: core-8-5-branch
2021-07-13
22:19 • New ticket [1a89eba376] Add "exit" Windows shell built-in to auto_exec... artifact: 4c3b7391b4 user: andy

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.