diff options
| author | divens <divens@users.noreply.github.com> | 2026-02-23 08:59:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-23 08:59:52 +0100 |
| commit | b3b4aa8ccbcdfcc9580c329f09bf2109841c783b (patch) | |
| tree | 32ac7be664a31a2e8e7a28df697828fa04aa198b /Cargo.lock | |
| parent | fix: set scroll region to viewport size when resizing in alternate screen (#4... (diff) | |
| download | sl0ppij-b3b4aa8ccbcdfcc9580c329f09bf2109841c783b.tar.gz sl0ppij-b3b4aa8ccbcdfcc9580c329f09bf2109841c783b.tar.xz sl0ppij-b3b4aa8ccbcdfcc9580c329f09bf2109841c783b.zip | |
[Windows port PR6] refactor: gate daemonization and shell-related functions for cross-platform support (#4746)
* refactor: abstract daemonization behind cfg gates
Gate Unix-only daemonize/nix usage with #[cfg(unix)], add non-Unix
foreground fallback for web server, remove unused libc dep from both
crates, and move daemonize/nix to cfg(unix) dependencies.
* refactor: abstract shell invocation and process listing
Gate get_default_shell() with cfg(not(windows)) and add a Windows stub.
Split run_command_hook() with cfg(not(windows)) for the sh -c path and
a Windows stub. Add cfg(unix) gate on the ps-based
get_all_cmds_by_ppid() with a non-Unix stub.
---------
Co-authored-by: divens <divens.dev@gmail.com>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -5152,7 +5152,6 @@ dependencies = [ "interprocess", "isahc", "lazy_static", - "libc", "log", "mio 0.8.11", "nix 0.23.1", |
