drop ascii art

This commit is contained in:
Ryan Ragona
2025-04-26 16:34:03 -07:00
parent 026990fcc0
commit 4d26c773b9
2 changed files with 0 additions and 13 deletions

View File

@@ -7,9 +7,6 @@ use std::fs::OpenOptions;
use tokio::process::Child;
use tokio::process::Command;
// -----------------------------------------------------------------------------
// Internal helpers
/// Open (and create if necessary) the log files that stdout / stderr of the
/// spawned agent will be redirected to.
fn open_log_files(paths: &Paths) -> Result<(std::fs::File, std::fs::File)> {
@@ -39,9 +36,6 @@ fn base_command(bin: &str, paths: &Paths) -> Result<Command> {
Ok(cmd)
}
// -----------------------------------------------------------------------------
// exec -- non-interactive batch agent
pub fn spawn_exec(paths: &Paths, exec_args: &[String]) -> Result<Child> {
#[cfg(unix)]
{
@@ -86,9 +80,6 @@ pub fn spawn_exec(paths: &Paths, exec_args: &[String]) -> Result<Child> {
}
}
// -----------------------------------------------------------------------------
// repl -- interactive FIFO stdin
pub fn spawn_repl(paths: &Paths, repl_args: &[String]) -> Result<Child> {
#[cfg(unix)]
{

View File

@@ -223,9 +223,7 @@ pub async fn kill_session(id: &str) -> Result<()> {
);
}
//---------------------------------------------------------------------
// Step 1 -- send graceful termination.
//---------------------------------------------------------------------
#[cfg(unix)]
{
@@ -259,9 +257,7 @@ pub async fn kill_session(id: &str) -> Result<()> {
tokio::time::sleep(poll_interval).await;
}
//---------------------------------------------------------------------
// Step 2 -- force kill if necessary.
//---------------------------------------------------------------------
if still_running {
#[cfg(unix)]