Skip to content

Commit 88e07c6

Browse files
kenakoferlceWolf
authored andcommitted
Fix windows terminal cmd quote placement
This places the exit_handler inside the quotes, so the exit handler will be included in the `cmd /C`
1 parent 38d387a commit 88e07c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/cmake-tools/terminal.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,8 @@ function _terminal.run(cmd, env_script, env, args, cwd, opts, on_exit, on_output
624624
.. (final_env .. (final_env ~= "" and " " or ""))
625625
.. final_cmd
626626
.. ((final_args ~= "" and " " or "") .. final_args)
627-
.. (osys.iswin32 and '"' or "")
628627
.. exit_handler
628+
.. (osys.iswin32 and '"' or "")
629629
else
630630
if osys.iswin32 then
631631
error("using a shell alias is currently not suported for windows")

0 commit comments

Comments
 (0)