mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1269] Use Windows API to spawn processes instead of powershell #1288
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1269
Author: @Dethada
Created: 2/9/2025
Status: 🔄 Open
Base:
master← Head:pwsh-to-winapi📝 Commits (10+)
4007425perf(komorebic): use std::process::Command to spawn process instead of powershell (bar)8273affperf(komorebic): switch komorebi, ahk, masir to be spawned directly8bc0867perf(komorebic): switch kill and stop cases to use winapi, except for ahk8a371fcperf(komorebic): change to winapi for terminating komorebida102abfix(komorebic): use winapi for AHK terminationaf2d04frefactor(komorebic): change error printing to stderr9e4448frefactor(komorebic): use constants for exe names58637c2refactor(komorebic): change macro to function7ac816aperf(komorebic): only retrieve process related info with sysinfo instead of retrieving alld57e5ecfix(bar): try to reconnect at an interval instead of crashing when unable to connect to komorebi📊 Changes
4 files changed (+337 additions, -239 deletions)
View changed files
📝
Cargo.lock(+0 -7)📝
komorebi-bar/src/main.rs(+18 -3)📝
komorebic/Cargo.toml(+0 -1)📝
komorebic/src/main.rs(+319 -228)📄 Description
whkd, as it will spawn a visible console window if we use win api for its process creation. I suspect this can be solved onwhkdside but I'll leave it as is for now🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.