mirror of
https://git.proxmox.com/git/pve-installer
synced 2025-07-24 17:02:41 +00:00
![]() This moves the kill() + waitpid() combo into a separate subroutine, avoiding open-coding that sequence. wait_for_process() also handles properly unkillable process (e.g. in D-state) and avoids completely locking up the installer in such cases. See [0]. For the latter case, a timeout exists (with a default of 5 seconds) in which to wait for the process to exit after sending an optional TERM/KILL signal. Also while at it, add a few basic tests for run_command(). [0] https://lists.proxmox.com/pipermail/pve-devel/2024-February/061697.html Signed-off-by: Christoph Heiss <c.heiss@proxmox.com> |
||
---|---|---|
.cargo | ||
banner | ||
debian | ||
html | ||
Proxmox | ||
proxmox-installer-common | ||
proxmox-tui-installer | ||
test | ||
.gitignore | ||
Cargo.toml | ||
checktime | ||
country.pl | ||
fake-start-stop-daemon | ||
interfaces | ||
Makefile | ||
policy-disable-rc.d | ||
proxinstall | ||
proxmox-low-level-installer | ||
rustfmt.toml | ||
spice-vdagent.sh | ||
unconfigured.sh | ||
Xdefaults | ||
xinitrc |