From 5adc4e467f01865ba2d4f519334ee1b0496b8ebf Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 22 May 2026 23:14:27 +0900 Subject: refactor(promise): change functions returning PromiseInterface to async fn --- crates/shirabe/src/util/process_executor.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crates/shirabe/src/util/process_executor.rs') diff --git a/crates/shirabe/src/util/process_executor.rs b/crates/shirabe/src/util/process_executor.rs index cd25fbc..1ee821c 100644 --- a/crates/shirabe/src/util/process_executor.rs +++ b/crates/shirabe/src/util/process_executor.rs @@ -6,8 +6,6 @@ use indexmap::IndexMap; use std::sync::{LazyLock, Mutex}; use shirabe_external_packages::composer::pcre::{CaptureKey, Preg}; -use shirabe_external_packages::react::promise::Promise; -use shirabe_external_packages::react::promise::PromiseInterface; use shirabe_external_packages::seld::signal::SignalHandler; use shirabe_external_packages::symfony::component::process::ExecutableFinder; use shirabe_external_packages::symfony::component::process::Process; @@ -375,7 +373,7 @@ impl ProcessExecutor { } /// starts a process on the commandline in async mode - pub fn execute_async(&mut self, command: C, cwd: W) -> Result> + pub async fn execute_async(&mut self, command: C, cwd: W) -> Result where C: IntoExecCommand, W: IntoExecCwd, -- cgit v1.3.1