Commit graph

13 commits

Author SHA1 Message Date
Magnus Gule
8c1ed7254f
fix closing some custom commands on Windows (#3981)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_highlevel (push) Has been cancelled
* Bugfix: Rewrote addProcessToGroup. Fixed possible invalid process handle by using windows.OpenProcess instead. Fixes issue: 3980

* run gofumpt

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2025-01-11 20:40:25 +01:00
Alessandro Ros
716660217d
remove deprecated build flags syntax (#3930) 2024-11-06 15:07:33 +01:00
Alessandro Ros
44918fce0d
when stopping hooks, stop all their subprocesses too (#3004) (#3087) 2024-02-29 22:42:11 +01:00
Alessandro Ros
bedfa9651a
fix windows build (#2360) 2023-09-16 23:21:10 +02:00
Alessandro Ros
ed77560811
add runOnDisconnect, runOnNotReady, runOnUnread (#1464) (#2355) 2023-09-16 19:21:48 +02:00
Alessandro Ros
128f2d3e20
print error that caused an external command to exit (#1869) 2023-05-27 19:28:07 +02:00
Alessandro Ros
a0b973963d
allow using special characters in external commands (#1652) (#1868)
on Windows, when using cmd.exe or a bat file as external command.
2023-05-27 18:20:06 +02:00
aler9
3a81728096 on Linux/macOS, launch external commands directly without using the shell 2022-01-25 14:55:50 +01:00
aler9
84735426eb print a message when a custom command exits suddently 2021-12-08 21:23:45 +01:00
aler9
ebc201bda2 make regexp groups available to custom commands (#642) 2021-12-08 20:50:09 +01:00
aler9
76eb2c2c2b fix lint errors 2021-11-22 15:09:03 +01:00
aler9
5ea4fdb764 run gofumpt 2021-11-15 20:09:07 +01:00
aler9
4f7daacdda cleanup 2020-11-21 13:35:33 +01:00
Renamed from internal/externalcmd/externalcmd_win.go (Browse further)