mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-13 19:10:39 +00:00
chore: wtf.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { ChildProcessWithoutNullStreams, SpawnOptions } from "node:child_process";
|
||||
import type { ManagedRunStdin } from "../types.js";
|
||||
import { killProcessTree } from "../../kill-tree.js";
|
||||
import { spawnWithFallback } from "../../spawn-utils.js";
|
||||
import type { ManagedRunStdin } from "../types.js";
|
||||
import { toStringEnv } from "./env.js";
|
||||
|
||||
function resolveCommand(command: string): string {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { ManagedRunStdin } from "../types.js";
|
||||
import { killProcessTree } from "../../kill-tree.js";
|
||||
import type { ManagedRunStdin } from "../types.js";
|
||||
import { toStringEnv } from "./env.js";
|
||||
|
||||
const FORCE_KILL_WAIT_FALLBACK_MS = 4000;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { ProcessSupervisor } from "./types.js";
|
||||
import { createProcessSupervisor } from "./supervisor.js";
|
||||
import type { ProcessSupervisor } from "./types.js";
|
||||
|
||||
let singleton: ProcessSupervisor | null = null;
|
||||
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
import crypto from "node:crypto";
|
||||
import { getShellConfig } from "../../agents/shell-utils.js";
|
||||
import { createSubsystemLogger } from "../../logging/subsystem.js";
|
||||
import { createChildAdapter } from "./adapters/child.js";
|
||||
import { createPtyAdapter } from "./adapters/pty.js";
|
||||
import { createRunRegistry } from "./registry.js";
|
||||
import type {
|
||||
ManagedRun,
|
||||
ProcessSupervisor,
|
||||
@@ -7,11 +12,6 @@ import type {
|
||||
SpawnInput,
|
||||
TerminationReason,
|
||||
} from "./types.js";
|
||||
import { getShellConfig } from "../../agents/shell-utils.js";
|
||||
import { createSubsystemLogger } from "../../logging/subsystem.js";
|
||||
import { createChildAdapter } from "./adapters/child.js";
|
||||
import { createPtyAdapter } from "./adapters/pty.js";
|
||||
import { createRunRegistry } from "./registry.js";
|
||||
|
||||
const log = createSubsystemLogger("process/supervisor");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user